Operation
SHLL2(long n) /* SHLL2 Rn */
{
R[n]<<=2;
PC+=2;
}
SHLL8(long n) /* SHLL8 Rn */
{
R[n]<<=8;
PC+=2;
}
SHLL16(long n) /* SHLL16 Rn */
{
R[n]<<=16;
PC+=2;
}
Example
SHLL2
R0
SHLL8
R0
SHLL16 R0
;Before execution R0 = H'12345678
;After execution
R0 = H'48D159E0
;Before execution R0 = H'12345678
;After execution
R0 = H'34567800
;Before execution R0 = H'12345678
;After execution
R0 = H'56780000
Rev. 2.0, 03/99, page 363 of 396