Re: A83: Flags


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

Re: A83: Flags




Yeah, it helps some, but what dso HC,  N, S, and the overflow part of the
P flag do?  Is the flags register #6?


						Thanks,
						Alan

>
>Here you go:
>----------+------+-------------------------------------------- 
>  S         S      Sign flag (Bit 7)                            
>  Z          Z     Zero flag (Bit 6)                            
>  HC          H    Half Carry flag (Bit 4)                      
>  P/V          P   Parity/Overflow flag (Bit 2, V=overflow)     
>  N             N  Add/Subtract flag (Bit 1)                    
>  CY             C Carry flag (Bit 0)                           
>
>Does that help?
>
>James Matthews (matthews@tkb.att.ne.jp)
>
>ICQ: 7413754
>http://home.att.ne.jp/gold/tomcat21/index.html
>http://library.advanced.org/18242/
>
>----------
>> From: Alan C Johnson <benjamin99@juno.com>
>> To: assembly-83@lists.ticalc.org
>> Subject: Re: A83: Flags
>> Date: Saturday, September 26, 1998 3:20 AM
>> 
>> 
>> I haven't seen anything on the flags there.
>> 
>> >
>> >Alan C Johnson wrote:
>> >> 
>> >> What are all of the Z80's flags?
>> >> 
>> >
>> >read some z80 specifications..
>> >
>> >In general they are bits set and cleared according to the result of 
>
>> >an
>> >instruction
>> >Z, the zero flag is for example set if the result of for example a 
>
>> >sub
>> >instruction is zero.
>> >
>> >You use them mainly in conditional jumps
>> >
>> >To see exactly all flags that exist, and when they are set and 
>> >cleared,
>> >check the instructions listings for the z80, for example them that 
>is
>> >available at ticalc.com, those are the ones I use..
>> >
>> >
>> >//Olle
>> >
>> 
>> ___________________________________________________________________
>> You don't need to buy Internet access to use free Internet e-mail.
>> Get completely free e-mail from Juno at http://www.juno.com
>> Or call Juno at (800) 654-JUNO [654-5866]
>

___________________________________________________________________
You don't need to buy Internet access to use free Internet e-mail.
Get completely free e-mail from Juno at http://www.juno.com
Or call Juno at (800) 654-JUNO [654-5866]