diff options
author | Test_User <hax@andrewyu.org> | 2023-06-10 17:58:17 -0400 |
---|---|---|
committer | Test_User <hax@andrewyu.org> | 2023-06-10 17:58:17 -0400 |
commit | 56b6e947440b68b01b7018ab2e2bfd6ec22633e1 (patch) | |
tree | 9da686b5aa6da2de833460749efe414387b3f638 | |
parent | 1e6377c101b17cb4b6140ef24d673e47e41cfa22 (diff) | |
download | specification-56b6e947440b68b01b7018ab2e2bfd6ec22633e1.tar.gz specification-56b6e947440b68b01b7018ab2e2bfd6ec22633e1.zip |
Fix subtract parameter ordering, add .gitignore for active nano
-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 |