Perform the indicated binary op on the indicated register (first argument) and literal value (second argument), storing the result in the destination register.
Op & Format | Mnemonic / Syntax | Arguments |
---|---|---|
d0..d7 22s | binop/lit16 vA, vB, #+CCCC d0: add-int/lit16 d1: rsub-int (reverse subtract) d2: mul-int/lit16 d3: div-int/lit16 d4: rem-int/lit16 d5: and-int/lit16 d6: or-int/lit16 d7: xor-int/lit16 |
A: destination register (4 bits)B: source register (4 bits)C: signed int constant (16 bits) |