Ldub (Load Byte Data In Memory To Register) - Fujitsu FR Family Instruction Manual

32-bit microcontroller
Hide thumbs Also See for FR Family:
Table of Contents

Advertisement

CHAPTER 7 DETAILED EXECUTION INSTRUCTIONS
7.66

LDUB (Load Byte Data in Memory to Register)

Extend with zeros the byte data at memory address "Rj", load to "Ri".
■ LDUB (Load Byte Data in Memory to Register)
Assembler format:
LDUB @Rj, Ri
Operation:
extu ((Rj)) → Ri
Flag change:
N, Z, V, and C: Unchanged
Execution cycles:
b cycle(s)
Instruction format:
Example:
LDUB @R2, R3
162
N
Z
V
C
MSB
0
0
0
0
R2
1 2 3 4 5 6 7 8
R3
x x x x
x x x x
Memory
12345678
2 1
Before execution
0
1
1
0
Rj
LSB
Ri
R2
1 2 3 4 5 6 7 8
R3
0 0 0 0 0 0 2 1
Memory
12345678
2 1
After execution

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fr series

Table of Contents