subi
Subtract immediate
Subtracts the immediate value from the second operand.
Sizes .b .w .l, .w by default
XNZVC ●●●●●
- ● set from the result
Forms
Operands
#imm- An immediate value written after
#: a number, character or label, such as#10,#$FFor#'a'. It must fit the operation’s size: byte-128to255, word-32768to65535, or long-2147483648to4294967295; signed and unsigned spellings are accepted. More <ea>- An operand using one of the addressing modes listed for this form. The list determines whether it can be a register, memory or an immediate value. With
opt p=68020, an allowedd(An,Xn)ord(PC,Xn)mode also permits the corresponding 68020 indexed and memory indirect forms. See 68020 addressing. More
move.l #$1234, d0
subi.w #$0234, d0
subi.l #$1000, d0