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

  • 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 171
148
CHAPTER 7 DETAILED EXECUTION INSTRUCTIONS
7.54 LDI:20 (Load Immediate 20-bit Data to Destination
Register)
Extends the 20-bit immediate data with 12 zeros in the higher bits, loads to "Ri".
LDI:20 (Load Immediate 20-bit Data to Destination Register)
Assembler format: LDI:20 #i20, Ri
Operation: extu (i20) Ri
Flag change:
N, Z, V, and C: Unchanged
Execution cycles: 2 cycles
Instruction format:
Example: LDI:20 #54321H, R3
NZVC
––––
MSB LSB
10011011 Ri(n+0)
i20(lower)
i20(higher)
(n+2)
R3 R3
0005 43210000 0000
Before execution After execution
Instruction bit pattern : 1001 1011 0101 0011
: 0100 0011 0010 0001
Zobrazit stránku 171
1 2 ... 167 168 169 170 171 172 173 174 175 176 177 ... 313 314

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

Žádné komentáře