From 6ae3f040b84d610608cf06d3c5fd04d1025f9322 Mon Sep 17 00:00:00 2001 From: Rangi <35663410+Rangi42@users.noreply.github.com> Date: Fri, 17 Jan 2025 23:04:03 -0500 Subject: [PATCH] Correct the `DAA` documentation (#1617) --- man/gbz80.7 | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/man/gbz80.7 b/man/gbz80.7 index af70edb51..17b332832 100644 --- a/man/gbz80.7 +++ b/man/gbz80.7 @@ -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