From 11b7052f9403944fef5fddf1d2815f37a9cf5c3b Mon Sep 17 00:00:00 2001 From: ISSOtm Date: Thu, 10 Oct 2019 01:01:21 +0200 Subject: [PATCH] Fix flag documentation for `sub`, `sbc` and `cp` --- src/gbz80.7 | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/gbz80.7 b/src/gbz80.7 index 5b14f173..49558cb6 100644 --- a/src/gbz80.7 +++ b/src/gbz80.7 @@ -512,10 +512,10 @@ Set if result is 0. 1 .It .Sy H : -Set if no borrow from bit 4. +Set if borrow from bit 4. .It .Sy C : -Set if no borrow +Set if borrow .Po set if Ar r8 > .Sy A @@ -606,7 +606,7 @@ Set if result is 0. 1 .It .Sy H : -Set if no borrow from bit 4. +Set if borrow from bit 4. .El .Ss DEC [HL] Decrement the value pointed by @@ -1497,10 +1497,10 @@ Set if result is 0. 1 .It .Sy H : -Set if no borrow from bit 4. +Set if borrow from bit 4. .It .Sy C : -Set if no borrow +Set if borrow .Po set if Ar r8 > .Sy A @@ -1713,10 +1713,10 @@ Set if result is 0. 1 .It .Sy H : -Set if no borrow from bit 4. +Set if borrow from bit 4. .It .Sy C : -Set if no borrow +Set if borrow .Po set if Ar r8 > .Sy A