Instruction Cycle Times - Samsung S3C2500B User Manual

Table of Contents

Advertisement

INSTRUCTION SET
Code
THUMB
Assembler
1011
BLT label
1100
BGT label
1101
BLE label
NOTES:
1.
While label specifies a full 9-bit two's complement address, this must always be half-word-aligned (ie with bit 0 set to 0)
since the assembler actually places label >> 1 in field SOffset8.
2.
Cond = 1110 is undefined, and should not be used.
Cond = 1111 creates the SWI instruction: see .

3.35.2 INSTRUCTION CYCLE TIMES

All instructions in this format have an equivalent ARM instruction as shown in Table 3-23. The instruction cycle
times for the THUMB instruction are identical to that of the equivalent ARM instruction.
Examples
CMP R0, #45
BGT over
...
...
over
...
...
3-92
Table 3-23. The Conditional Branch Instructions (Continued)
ARM Equivalent
BLT label
BGT label
BLE label
Branch if N set and V clear, or N clear and V set (less than)
Branch if Z clear, and either N set and V set or N clear and V
clear (greater than)
Branch if Z set, or N set and V clear, or N clear and V set
(less than or equal)
; Branch to over-if R0 > 45.
; Note that the THUMB opcode will contain
; the number of half-words to offset.
; Must be half-word aligned.
Action
S3C2500B

Advertisement

Table of Contents
loading

Table of Contents