shithub: rgbds

Download patch

ref: 11b7052f9403944fef5fddf1d2815f37a9cf5c3b
parent: e93d65d736a42f8317370b8e091cefafdc4a665b
author: ISSOtm <eldredhabert0@gmail.com>
date: Wed Oct 9 21:01:21 EDT 2019

Fix flag documentation for `sub`, `sbc` and `cp`

--- a/src/gbz80.7
+++ b/src/gbz80.7
@@ -512,10 +512,10 @@
 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 @@
 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 @@
 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 @@
 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