mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
Correct the DAA documentation (#1617)
This commit is contained in:
@@ -615,9 +615,6 @@ to the adjustment.
|
|||||||
.It
|
.It
|
||||||
Subtract the adjustment from
|
Subtract the adjustment from
|
||||||
.Sy A .
|
.Sy A .
|
||||||
.It
|
|
||||||
Set the carry flag if borrow (i.e. if adjustment >
|
|
||||||
.Sy A ) .
|
|
||||||
.El
|
.El
|
||||||
.It If the subtract flag Sy N No is not set:
|
.It If the subtract flag Sy N No is not set:
|
||||||
.Bl -enum -compact
|
.Bl -enum -compact
|
||||||
@@ -639,15 +636,13 @@ to the adjustment.
|
|||||||
If the carry flag is set or
|
If the carry flag is set or
|
||||||
.Sy A
|
.Sy A
|
||||||
>
|
>
|
||||||
.Ad $9F ,
|
.Ad $99 ,
|
||||||
then add
|
then add
|
||||||
.Ad $60
|
.Ad $60
|
||||||
to the adjustment.
|
to the adjustment and set the carry flag.
|
||||||
.It
|
.It
|
||||||
Add the adjustment to
|
Add the adjustment to
|
||||||
.Sy A .
|
.Sy A .
|
||||||
.It
|
|
||||||
Set the carry flag if overflow from bit 7.
|
|
||||||
.El
|
.El
|
||||||
.El
|
.El
|
||||||
.Pp
|
.Pp
|
||||||
|
|||||||
Reference in New Issue
Block a user