diff options
Diffstat (limited to '')
-rw-r--r-- | cpu/instructions/arithmetic/unsigned_divide.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/cpu/instructions/arithmetic/unsigned_divide.txt b/cpu/instructions/arithmetic/unsigned_divide.txt new file mode 100644 index 0000000..b08f2ea --- /dev/null +++ b/cpu/instructions/arithmetic/unsigned_divide.txt @@ -0,0 +1,10 @@ +Number of parameters: 4 + +Usage: + unsigned_divide <result> <remainder> <numerand> <divisor> + +Effect: + Performs the unsigned division <numerand>/<divisor>, storing the integer result in <result> and the remainder in <remainder> + +Exceptions: + Division by 0 |