Re: A86: re: moving sprites


[Prev][Next][Index][Thread]

Re: A86: re: moving sprites



so if I wanted to do that putsprite routine to start at 25 and end at about
50 I would do this:
stuff:

	ld	a,24
	ld 	e,something
	.
	.
	.
	call Putsprite
	ld	a,b
	inc	a
	cp	50
	jp	z,somewhere
	jp	stuff


Is this right? I don't want to type it in and compile it if it ends up to
be wrong.

Jeff Zimmerman
gramdon@mail2.theonramp.net

----------
> From: TreyJazz <joemama@minot.com>
> To: assembly-86@lists.ticalc.org
> Subject: Re: A86: re: moving sprites
> Date: Thursday, December 04, 1997 4:14 PM
> 
> Mark Zimmerman wrote:
> > 
> > When using the CP instruction, what is it comparing to?
> > for example...
> > 
> > cp      50
> > 
> > what is it comparing 50 to, which register?
> 
> to the accumulator, register a


Follow-Ups: