Samsung S3C2440A User Manual
Page 133
Advertising

THUMB INSTRUCTION SET
S3C2440A RISC MICROPROCESSOR
4-12
INSTRUCTION CYCLE TIMES
All instructions in this format have an equivalent ARM instruction as shown in Table 4-5. The instruction cycle
times for the THUMB instruction are identical to that of the equivalent ARM instruction.
EXAMPLES
EOR
R3, R4
; R3 := R3 EOR R4 and set condition codes
ROR
R1, R0
; Rotate Right R1 by the value in R0, store
; the result in R1 and set condition codes
NEG
R5, R3
; Subtract the contents of R3 from zero,
; Store the result in R5. Set condition codes ie R5 = - R3
CMP
R2, R6
; Set the condition codes on the result of R2 - R6
MUL
R0, R7
; R0 := R7 * R0 and set condition codes
Advertising