diff options
author | Test_User <hax@andrewyu.org> | 2023-02-15 19:54:24 -0500 |
---|---|---|
committer | Test_User <hax@andrewyu.org> | 2023-02-15 19:54:24 -0500 |
commit | 5a87ffe89c6509c295d22c9b105fa1126328f6c2 (patch) | |
tree | 630f3846bb0098417fb3d838c08f16ed19fda886 /cpu/instructions/conditions/bitwise_condition.txt | |
parent | 22029d37cbf391a35304d32778bd01ecf40de482 (diff) | |
download | specification-5a87ffe89c6509c295d22c9b105fa1126328f6c2.tar.gz specification-5a87ffe89c6509c295d22c9b105fa1126328f6c2.zip |
Add more instructions
Diffstat (limited to 'cpu/instructions/conditions/bitwise_condition.txt')
-rw-r--r-- | cpu/instructions/conditions/bitwise_condition.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/cpu/instructions/conditions/bitwise_condition.txt b/cpu/instructions/conditions/bitwise_condition.txt new file mode 100644 index 0000000..48ddabd --- /dev/null +++ b/cpu/instructions/conditions/bitwise_condition.txt @@ -0,0 +1,12 @@ +Number of parameters: 3 + +Usage: + bitwise_condition <input> <bits to be compared> <value to compare with> + +Effect: + Sets the zero flag if exactly one of <bits to be compared> in <input> match <value to compare with> + Sets the overflow flag if at least one of <bits to be compared> in <input> match <value to compare with> + Sets the carry flag if all of <bits to be compared> in <input> match <value to compare with> + +Exceptions: + None |