From 3ed9e71f143000262dd1b57a8abac9c86af455ea Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Tue, 23 May 2023 18:48:48 +0100 Subject: Fix typos (b increases if y overlfows) --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 3dc1092..bc1f4c5 100644 --- a/README.md +++ b/README.md @@ -339,12 +339,12 @@ Load into r1 the stack value on top address plus the immediate value. **LDI** Perform a LD of [a : x] to [b : y], and increments x (and a if x overflows) and -y (and b if x overflows). This instruction takes 4 times longer than a regular +y (and b if y overflows). This instruction takes 4 times longer than a regular instruction. **LDD** Perform a LD of [a : x] to [b : y], and decrements x (and a if x overflows) -and y (and b if x overflows). This instruction takes 4 times longer than a regular +and y (and b if y overflows). This instruction takes 4 times longer than a regular instruction. #### Stack @@ -428,7 +428,7 @@ Affected flags: ZF, CF, OF, SF **CMPI** Perform a SUB of [a : x] minus [b : y], without storing the result and only -updating the flags. It also increments x (and a if x overflows) and y (and b if x +updating the flags. It also increments x (and a if x overflows) and y (and b if y overflows). The flags are not affected by incrementing a, b, x and y. This instruction takes 4 times longer than a regular instruction. Affected flags: ZF, CF, OF, SF @@ -436,7 +436,7 @@ Affected flags: ZF, CF, OF, SF **CMPD** Perform a SUB of [a : x] minus [b : y], without storing the result and only updating the flags. It also decrements x (and a if x overflows) and y (and b if -x overflows). The flags are not affected by decrementing a, b, x and y. This +y overflows). The flags are not affected by decrementing a, b, x and y. This instruction takes 4 times longer than a regular instruction. Affected flags: ZF, CF, OF, SF -- cgit v1.2.3