Professional Documents
Culture Documents
CSHS 7o Emad
CarrysetHinghe C
CCLO Carryaearlknosignered c
1411 Minus Negative N
PL Plus live n
US Overflow V
VC No overflow V
HI Unsigned higher 2C
Unsigned lower 2 e
GE Greaterthantefsisned
NV nu
LT Less than signed Nu nV
GT Greaterthansigned NzVo nzV
LE Less than
Eq signed Nv Un Z
AL Always
ARM 7 3
stages
Itf
execution
Pipelining speeds up by fetching other in.I.is
while others
being executed
are
decoding
ARM 9 5 stages
Fetch Decode Execute Memory I write
Vectortabies
lns.tn Classes
to OX80000000 to 0 00000008
MOUS ro r 1St I 4 0 80000004 I 0 80000004
CPSR nzc
gift User CPSR n
gift user
copy of r is taken Left shift is made then it is
moved to Ro
MUN M RS r 5 Sir 7 8 r5 5
ft FF FF FF FA
MOL Multiply
L2 Count leading zero
QADD i Signed saturated 32 bit signed a.dd.tn
donot use the barrel shifter
En Pre Mov r7 rs LSL 2 Post
85 5 r7 8 r7 oxl4irS 5
Amounts'hittt
Barrel
Ahift operations Immediate
Val Val in
rOfLsL
Mnemonic bing.gsHesdhift
Description
Left shift logical
LSLY
LSR Shift
Logical KLSRY Right
ASR ArithmeticShift Right
KASRY
12012 Rotate Right 2
RORY
RRX Rotate Rightextended
Arithmetic Irish
Pre Post
r ox0 SUB ro r r fo 0 2 0 1
r Ox2 ro r rz to 0 1
t OH re 0 2 ifz 0X
ro 0 00 RSB ro r 0 to'OXFFFFFF89
r 0 77 fo O r
r _0 01 SUBS r r I 4 0 00
CPSR nzcvqift user
fir I CPsR n2cvqift_use
01101010
2 s complement 100101 0