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