SUBQ

SUBQ

Operation:
Immediate Data + Destination -->; Destination

Assembler Syntax:
SUBQ #<data>, An;

Attributes: Size = (Word, Long)

Description:Subtracts the immediate data 1 to 8 from the ADDRESS register
Always the entire address register is updated.

Condition Codes: Not affected
Example:

1) A1= $00001004
SUBQ.L #8,A1
Result:
A1 = $00000FFC

SUBQ is usefull to decrement pointers