Download 1 PRODUCT OVERVIEW

Transcript
KS32C50100 RISC MICROCONTROLLER
THUMB INSTRUCTION SET
INSTRUCTION CYCLE TIMES
This instruction format does not have an equivalent ARM instruction.
Table 3-26. The BL Instruction
H
THUMB assembler
ARM equivalent
0
BL label
none
Action
LR := PC + OffsetHigh << 12
1
temp := next instruction address
PC := LR + OffsetLow << 1
LR := temp | 1
EXAMPLES
next
BL faraway
...
faraway
...
;
;
;
;
;
;
;
Unconditionally Branch to 'faraway'
and place following instruction
address, ie ’next’, in R14,the Link
register and set bit 0 of LR high.
Note that the THUMB opcodes will
contain the number of halfwords to offset.
Must be Half-word aligned.
3-101