Correct the DAA documentation (#1617)

This commit is contained in:
Rangi
2025-01-17 23:04:03 -05:00
committed by GitHub
parent e561f63db3
commit 6ae3f040b8

View File

@@ -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