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