Samsung S3C2440A User Manual

Page 150

Advertising
background image

S3C2440A RISC MICROPROCESSOR

THUMB INSTRUCTION SET

4-29

INSTRUCTION CYCLE TIMES

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

EXAMPLES

ADD

R2, PC, #572

; R2 := PC + 572, but don't set thecondition codes.

bit[1] of PC is forced to zero.Note that the THUMB

opcode willcontain 143 as the Word8 value.


ADD

R6, SP, #212

; R6 := SP (R13) + 212, but don'tset the condition codes.

Note that the THUMB opcode will contain 53 as the

Word

8

value.


Advertising