[A83] Re: More questions
[Prev][Next][Index][Thread]
[A83] Re: More questions
>
> 1st one:
> If you add a,b where does the value stay?
add a,b <--> a = a + b
> And if it's possible to add two register pairs:
> add hl,de and ofcourse, where does that value stay.
add hl,de <--> hl = hl + de
> Is it possible in assembly, to make double conditions, like in
> basic: if a=1
> and b=2:goto enz..
cp 1
jr nz,NotTrue
ld a,b
cp 2
jr nz,NotTrue
True:
; at this point: (A == 1) && (B == 2)
NotTrue:
ret
References: