Re: A82: Re: Re: Re: Clearing the z flag


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

Re: A82: Re: Re: Re: Clearing the z flag




How does ld a,r use the z flag?

----- Original Message ----- 
From: "Dines Justesen" <dines@aub.dk>
To: <assembly-82@lists.ticalc.org>
Sent: Sunday, January 23, 2000 02:37
Subject: Re: A82: Re: Re: Re: Clearing the z flag



Yep if a=0 it wont work.

If a<>0
  or a
If a=0
  neg a / cpl a

If you do not know the value of a
 or $ff

Dines

BTW ld a,r does use the z flag, so that is another possiblity :-)
/----------------------------\
| Dines Justsen              |
| dines@aub.dk               |
| www.student.dtu.dk/~c958362|
\----------------------------/
<snip>



Follow-Ups: References: