summaryrefslogtreecommitdiff
path: root/cpu/instructions/arithmetic/signed_divide_inplace.txt
diff options
context:
space:
mode:
Diffstat (limited to 'cpu/instructions/arithmetic/signed_divide_inplace.txt')
-rw-r--r--cpu/instructions/arithmetic/signed_divide_inplace.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/cpu/instructions/arithmetic/signed_divide_inplace.txt b/cpu/instructions/arithmetic/signed_divide_inplace.txt
new file mode 100644
index 0000000..875dd5e
--- /dev/null
+++ b/cpu/instructions/arithmetic/signed_divide_inplace.txt
@@ -0,0 +1,10 @@
+Number of parameters: 2
+
+Usage:
+ signed_divide_inplace <numerand> <divisor>
+
+Effect:
+ Performs the signed division <numerand>/<divisor>, storing the integer result in <numerand> and the remainder in <divisor>
+
+Exceptions:
+ Division by 0