A86: Checking sign of _OP1


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

A86: Checking sign of _OP1



Once I have _OP1 loaded with user input how do I check the sign. Is this
correct:

ld hl,_OP1
bit 0,hl
jr nz,Neg	;is it nz or z?

Pos:

;code

Neg:

;code

TIA,
Andres Garcia