Samsung S3C2440A User Manual

Page 131

Advertising
background image

THUMB INSTRUCTION SET

S3C2440A RISC MICROPROCESSOR

4-10

INSTRUCTION CYCLE TIMES

All instructions in this format have an equivalent ARM instruction as shown in Table 4-4. The instruction cycle
times for the THUMB instruction are identical to that of the equivalent ARM instruction.

EXAMPLES

MOV

R0, #128

; R0 := 128 and set condition codes

CMP

R2, #62

; Set condition codes on R2 - 62

ADD

R1, #255

; R1 := R1 + 255 and set condition codes

SUB

R6, #145

; R6 := R6 - 145 and set condition codes

Advertising