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
|
||||
Subtract the adjustment from
|
||||
.Sy A .
|
||||
.It
|
||||
Set the carry flag if borrow (i.e. if adjustment >
|
||||
.Sy A ) .
|
||||
.El
|
||||
.It If the subtract flag Sy N No is not set:
|
||||
.Bl -enum -compact
|
||||
@@ -639,15 +636,13 @@ to the adjustment.
|
||||
If the carry flag is set or
|
||||
.Sy A
|
||||
>
|
||||
.Ad $9F ,
|
||||
.Ad $99 ,
|
||||
then add
|
||||
.Ad $60
|
||||
to the adjustment.
|
||||
to the adjustment and set the carry flag.
|
||||
.It
|
||||
Add the adjustment to
|
||||
.Sy A .
|
||||
.It
|
||||
Set the carry flag if overflow from bit 7.
|
||||
.El
|
||||
.El
|
||||
.Pp
|
||||
|
||||
Reference in New Issue
Block a user