Samsung S3C2440A User Manual
Page 65

ARM INSTRUCTION SET
S3C2440A RISC MICROPROCESSOR
3-8
ASSEMBLER SYNTAX
Items in “{}” are optional. Items in “<>” must be present.
B{L}{cond}
{L}
Used to request the Branch with Link form of the instruction.
If absent, R14 will not be affected by the instruction.
{cond}
A two-character mnemonic as shown in Table 3-2.
If absent then AL (ALways) will be used.
The destination. The assembler calculates the offset
Examples
here BAL here
; Assembles to 0xEAFFFFFE (note effect of PC offset).
B there
; Always condition used as default.
CMP
R1,#0
; Compare R1 with zero and branch to fred
if R1 was zero, otherwise continue.
BEQ
fred
; Continue to next instruction.
BL
sub+ROM
; Call subroutine at computed address.
ADDS
R1,#1
; Add 1 to register 1, setting CPSR flags
on the result then call subroutine if
BLCC
sub
; the C flag is clear, which will be the
case unless R1 held 0xFFFFFFFF.
- NC10 (12 pages)
- GT-P7300 (133 pages)
- M6000 (130 pages)
- M60 (201 pages)
- P55 (172 pages)
- Tablet (44 pages)
- Q45c (199 pages)
- Galaxy Tab 8.9 (188 pages)
- X22 (197 pages)
- Q46 (194 pages)
- GT-P7100 (108 pages)
- R71 (196 pages)
- Q71 (191 pages)
- M55 (161 pages)
- GT-P6210 (200 pages)
- V1.3.0 (26 pages)
- Q35 (157 pages)
- 8.9 (176 pages)
- X65 (195 pages)
- Galaxy Tab A3LSGHI987 (146 pages)
- GALAXY Tab SGH-I987 (149 pages)
- Q30 (127 pages)
- NP270E5V (27 pages)
- NP670Z5E (157 pages)
- NP275E5E (135 pages)
- NP270E5GI (134 pages)
- NP535U3C (154 pages)
- NP370R5E (133 pages)
- XE500T1C (117 pages)
- XE500T1C (122 pages)
- NP270E5UE (27 pages)
- NP930X5J-S01US (149 pages)
- NP930X5J-S01US (115 pages)
- NP900X3D-A03US (138 pages)
- NP900X4D-A03US (129 pages)
- NP470R5E-K01UB (120 pages)
- NP470R5E-K01UB (126 pages)
- NP470R5E-K01UB (125 pages)
- NP700Z3C-S01US (156 pages)
- NP355V4C-A01VE (140 pages)
- NP940X3G-S01US (149 pages)
- NP940X3G-S01US (147 pages)
- NP915S3G-K02US (118 pages)
- NP915S3G-K02US (145 pages)