diff options
author | Juan J. Martinez <jjm@usebox.net> | 2023-05-23 18:48:48 +0100 |
---|---|---|
committer | Juan J. Martinez <jjm@usebox.net> | 2023-05-23 18:48:48 +0100 |
commit | 3ed9e71f143000262dd1b57a8abac9c86af455ea (patch) | |
tree | 45c5824523fbc3fa01d39468007dfd52540a7d41 | |
parent | d2ed9ee365f89aa84cd0ce9b3118678e37a86c69 (diff) | |
download | tr8vm-3ed9e71f143000262dd1b57a8abac9c86af455ea.tar.gz tr8vm-3ed9e71f143000262dd1b57a8abac9c86af455ea.zip |
Fix typos (b increases if y overlfows)
-rw-r--r-- | README.md | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 |