[A83] Re: More questions


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

[A83] Re: More questions




add a,b
puts a+b into "a"

;a holds the value
lbl1:
    cp (Whatever)
    jr z,aistrue
    ;CODE FOR NOT TRUE

aistrue:
    ld a,b
    cp (Whatever)
    ret nz
    ;CODE FOR BOTH TRUE