Verified | Ace the Test
Instruction Types - 🧠 ANSWER ✔✔• Data Processing:
- Arithmetic, Logic only in registers
-> register direct addressing modes or immediate
• Data movement:
- Load, Store index addressing modes with autoincrements
• Control flow:
,- Branching conditions based on CPSR bits
• Extra in ARM:
- Conditional execution (maybe) for ALL instructions
- it avoids some branching and comparing
operands ONLY in registers - 🧠 ANSWER ✔✔ADD r1,r2,r3
ORR r1,r2,#3
MOV r1,r2
MOV r3,#0xA
MUL r1,r2,r3
load addresses
load/store values
load constants
indexed addressing modes - 🧠 ANSWER ✔✔LDR r1,=NUM
STR r2,[r1],#4
STR r2,[r1,r3]
LDRB r3,[r1]
, based on condition codes
previously set - 🧠 ANSWER ✔✔BNE loop
BL subroutine
CMP R1,#3
Assembly language - 🧠 ANSWER ✔✔symbolic form of machine language
-> Specific to a particular processor type
assembler - 🧠 ANSWER ✔✔a relatively simple /system/ program that
translates symbolic assembly language to numeric machine language
An assembler is much simpler than a compiler because: - 🧠 ANSWER ✔✔-
assembly language syntax and semantics are much simpler than high-level
languages;
- the program can be translated essentially line by line;
- there aren't the issues of context and structure that a high-level language
compiler has to deal with.
assembly language program - 🧠 ANSWER ✔✔consists of a sequence of
statements including:
COPYRIGHT©PROFFKERRYMARTIN 2025/2026. YEAR PUBLISHED 2026. COMPANY REGISTRATION NUMBER: 619652435. TERMS OF USE.
PRIVACY STATEMENT. ALL RIGHTS RESERVED