diff options
-rw-r--r-- | cpu/instructions/arithmetic/subtract.txt | 2 | ||||
-rw-r--r-- | cpu/instructions/arithmetic/subtract_with_borrow.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/cpu/instructions/arithmetic/subtract.txt b/cpu/instructions/arithmetic/subtract.txt index 273ca46..87d13c3 100644 --- a/cpu/instructions/arithmetic/subtract.txt +++ b/cpu/instructions/arithmetic/subtract.txt @@ -4,7 +4,7 @@ Usage: Subtract <output> <value0> <value1> Effect: - Subtracts <value0> from <value1> and stores it in <output> + Subtracts <value1> from <value0> and stores it in <output> Exceptions: None diff --git a/cpu/instructions/arithmetic/subtract_with_borrow.txt b/cpu/instructions/arithmetic/subtract_with_borrow.txt index 8f06e37..0e880f0 100644 --- a/cpu/instructions/arithmetic/subtract_with_borrow.txt +++ b/cpu/instructions/arithmetic/subtract_with_borrow.txt @@ -4,7 +4,7 @@ Usage: subtract_with_borrow <output> <value0> <value1> <reference> <offset> Effect: - Subtracts (<value0> + bit <offset> in <reference>) from <value1> + Subtracts (<value1> + bit <offset> in <reference>) from <value0> and stores it in <output> Exceptions: None |