[A86] Re: The f'n 86 screen


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

[A86] Re: The f'n 86 screen




10/1/01 6:31:41 PM, rabidcow@juno.com wrote:

>Ok, I may just be confused, but this comment seems 
wrong.
>Doesn't the "bit" instruction set the zero flag if 
the bit is zero?
>If so, that would jump if the bit was *clear*...
>
>-josh

Oops, my bad. 

ld hl,My_Head
set 1,(hl)

There. 
My head was clear before :)

>From asmstd8xhelpfile: BIT Instruction
Tests the specified bit of a register of indirect 
address content. The zero flag is set if the bit is 
0, and it is reset if the bit is 1.



Ricky Cobb
http://www.tiparadise.f2s.com/
arcadesdude@operamail.com
icq 41440378