diff options
Diffstat (limited to 'cpu/instructions/conditions/save_condition.txt')
-rw-r--r-- | cpu/instructions/conditions/save_condition.txt | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/cpu/instructions/conditions/save_condition.txt b/cpu/instructions/conditions/save_condition.txt new file mode 100644 index 0000000..a7df9d2 --- /dev/null +++ b/cpu/instructions/conditions/save_condition.txt @@ -0,0 +1,18 @@ +Number of parameters: + +Usage: + save_condition <output> <offset> <conditional parameter> + +conditional parameter: same as is_conditional from ../opcode.txt, but with the following changes: + Values to be compared are instead xor'd + +Effect: + Saves the selected flags to <output> at bitwise position <offset> + Flags are xor'd with the comparison value + Resulting value is shifted down to not have gaps from unused flags + +Exceptions: + None + +Notes: + Will be executed in the conditional phase |