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