Encoding (format 2):
0 | 0 | 0 | 1 | 1 | 0 | 0 | d2 | d1 | d0 | a2 | a1 | a0 | i2 | i1 | i0 |
Syntax:
ASRI
Rd,
Ra,
I
Constraints:
Outcome:
Notes:
The shift is encoded with a value 1 less than specified (i.e. a shift of 1 is encoded as 0002. The rationale is that shifting by zero is pointless. It is not needed to clear the carry flag, since there are other ways of clearing the it (for example adding constant zero).