diff options
Diffstat (limited to '')
-rw-r--r-- | cpu/instructions/arithmetic/signed_multiply.txt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/cpu/instructions/arithmetic/signed_multiply.txt b/cpu/instructions/arithmetic/signed_multiply.txt new file mode 100644 index 0000000..8f5a8ac --- /dev/null +++ b/cpu/instructions/arithmetic/signed_multiply.txt @@ -0,0 +1,14 @@ +Number of parameters: 4 + +Usage: + signed_multiply <overflow> <result> <value0> <value1> + +Effect: + Performs the signed multiplication <value0>*<value1>, storing the integer result in <result> and any overflowing bits into <overflow> + +Exceptions: + None + +Flags: + Sets the overflow flag if <overflow>:<result> != <result> + Carry flag is never set |