Professional Documents
Culture Documents
Instruction Set
Data Processing II
Peeyush K. P.
Assistant Professor
Department of Electronics and Communication Engineering
Amrita School of Engineering
Coimbatore
R1 0xFFFFFFFF
& R2 0x00000000
R0 0x00000000
R1 0xFFFFFFFF
R2 0x00000005
R0 0xFFFFFFFA
R1 0x00000001
+ R1, LSL #1 0x00000002
R0 0x0000003
r0 = r1 + r1 << 1 = r1 + 2 x r1 = 3 x r1
e.g.:
if (z==1) R1=R2+(R3*4)
compiles to
( SINGLE INSTRUCTION ! )