![Samsung S3C2501X Скачать руководство пользователя страница 185](http://html.mh-extra.com/html/samsung/s3c2501x/s3c2501x_user-manual_340828185.webp)
INSTRUCTION SET
S3C2501X
3-94
3.37 FORMAT 18: UNCONDITIONAL BRANCH
[10:0] Immediate Value
15
0
1
14
1
1
13
12
11
Offset11
0
10
0
Figure 3-47. Format 18
3.37.1 OPERATION
This instruction performs a PC-relative Branch. The THUMB assembler syntax is shown below. The branch offset
must take account of the prefetch operation, which causes the PC to be 1 word (4 bytes) ahead of the current
instruction.
Table 3-25. Summary of Branch Instruction
THUMB Assembler
ARM Equivalent
Action
B label
BAL label (half-word offset) Branch PC re/- Offset11 << 1, where label is PC
+/- 2048 bytes.
NOTE:
The address specified by label is a full 12-bit two
′
s complement address,
but must always be half-word aligned (ie bit 0 set to 0), since the assembler places label >> 1 in the Offset11 field.
Examples
here
B here
; Branch onto itself. Assembles to 0xE7FE.
; (Note effect of PC offset).
B jimmy
; Branch to 'jimmy'.
...
; Note that the THUMB opcode will contain the number of
; half-words to offset.
Jimmy
...
; Must be half-word aligned.
Содержание S3C2501X
Страница 1: ...S3C2501X 32 BIT RISC MICROPROCESSOR USER S MANUAL Revision 1 查询S3C2501X供应商 捷多邦 专业PCB打样工厂 24小时加急出货 ...
Страница 18: ......
Страница 275: ...MEMORY CONTROLLER S3C2501X 5 60 NOTES ...
Страница 289: ...I2C CONTROLLER S3C2501X 6 14 NOTES ...
Страница 373: ...GDMA CONTROLLER S3C2501X 9 24 NOTES ...
Страница 435: ...I O PORTS S3C2501X 12 12 NOTES ...
Страница 463: ...ELECTRICAL DATA S3C2501X 15 6 NOTES ...