Re: A83: question


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

Re: A83: question




Avoid using romcalls and op's at all costs!!! Unless your are doing fp
math... You waste time and bytes by using a fp romcall on a integer.
simply using the following code (For those that can't figure it out) is
much, much, much more affective:

;This is to answer his question "If the value 3 was in b"
	ld b,3
	ld a,1
	and b	;If z then even : If nz then odd

Edub311@aol.com wrote:
> 
> Hey guys,
>         Get the ASM Guru help file by james matthews from dimension-ti.org.
> There are almost all the z80 romcalls and everything you need to know about
> 83 ASM.  In it i found a romcall called _ckodd (4326h).  The checks whether
> op1 odd.  The Zero flag is set to zero if it is odd (jp z,ODD).
> 
> 
>                                 Bud

-- 
Scott "_Wrath_" Dial
homosapian@geocities.com
ICQ#3608935
http://www.geocities.com/~homosapian/


Follow-Ups: References: