164
CHAPTER 7 DETAILED EXECUTION INSTRUCTIONS
7.68 LDUB (Load Byte Data in Memory to Register)
Extends with zeros the byte data at memory address "(R14 + o8)", loads to "Ri".
The value "o8" is a signed calculation.
■ LDUB (Load Byte Data in Memory to Register)
Assembler format: LDUB @ (R14, disp8), Ri
Operation: extu ((R14 + o8)) → Ri
Flag change:
N, Z, V, and C: Unchanged
Execution cycles: b cycle(s)
Instruction format:
Example: LDUB @(R14, 1), R3
NZVC
––––
MSB LSB
0110 Rio8
12345678
xxxx xxxx
R3R3
21
0000 0021
12345678
12345679 12345679
21
1234 5678
R14
1234 5678
R14
Instruction bit pattern : 0110 0000 0001 0011
Memory Memory
Before execution After execution