[A83] Re: More questions


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

[A83] Re: More questions







>From: "Sebastiaan Roodenburg" <sebastiaan@rimsystems.nl>
>Reply-To: assembly-83@lists.ticalc.org
>To: <assembly-83@lists.ticalc.org>
>Subject: [A83] Re: More questions
>Date: Mon, 21 May 2001 20:53:30 +0200
>
>
>
> >
> > 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
>
>
>Thanx, that made something clear to me.
>
>

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.