Fujitsu FR family 32-bit microcontroller instruction manue Uživatelský manuál Strana 185

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 314
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 184
161
CHAPTER 7 DETAILED EXECUTION INSTRUCTIONS
7.65 LDUH (Load Half-word Data in Memory to Register)
Extends with zeros the half-word data at memory address "(R14 + o8 × 2)", loads to
"Ri".
The value "o8" is a signed calculation.
LDUH (Load Half-word Data in Memory to Register)
Assembler format: LDUH @(R14, disp9), Ri
Operation: extu (( R14 + o8 × 2)) Ri
Flag change:
N, Z, V, and C: Unchanged
Execution cycles: b cycle(s)
Instruction format:
Example: LDUH @(R14, 2), R3
NZVC
––––
MSB LSB
0100 Rio8
12345678
R3R3
4321
0000 4321
12345678
1234567A 1234567A
4321
1234 5678
R14
1234 5678
R14
Instruction bit pattern : 0100 0000 0001 0011
Memory Memory
Before execution After execution
xxxx xxxx
Zobrazit stránku 184
1 2 ... 180 181 182 183 184 185 186 187 188 189 190 ... 313 314

Komentáře k této Příručce

Žádné komentáře