Skip to content

Commit

Permalink
Correct the DAA documentation (#1617)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rangi42 authored Jan 18, 2025
1 parent e561f63 commit 6ae3f04
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions man/gbz80.7
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 6ae3f04

Please sign in to comment.