you completely missed my point. i was pointing out the problem with
operating the carry bit in this manner.
----- Original Message -----
From: "Groepaz" <
groepaz@...>
To: <
gbadev@yahoogroups.com>
Sent: Tuesday, April 01, 2003 3:59 AM
Subject: Re: [gbadev] Re: The carry flag
> On Monday 31 March 2003 22:15, Morten Pedersen wrote:
> > but that's completely retarded. that means (and i just tested this to be
> > true) the following code ends up with '1' in r12.
> >
> > mov r10,#0x00000000
> > mov r11,#0x00000000
> > subs r12,r10,r11
> > adc r12,r10,r11
>
> the last one should be ADD not ADC (which adds the carry => 1) :=)
>
> gpz
>
>
>
>
>
> Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/
>
>