Data types
- Byte â
8 bits
- Halfword â
16 bits
- Word â
32 bits
Expamples
Simple math
LDR - pseudo-instruction loads a register
.global _start
.text
_start:
ldr r0, =var1
ldr r1, [r0]
.data
var1: .word 5
var2: .word 6
STR - load and Store with register offset
STR <source_register>, [<address_register>]
Bitwise
AND
OR
EOR (XOR)
MVN (NOT)