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

  • 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 208
185
CHAPTER 7 DETAILED EXECUTION INSTRUCTIONS
7.88 CALL (Call Subroutine)
This is a branching instruction with no delay slot.
After storing the address of the next instruction in the return pointer (RP), branch to the
address indicated by "lavel12" relative to the value of the program counter (PC). When
calculating the address, double the value of "rel11" as a signed extension.
CALL (Call Subroutine)
Assembler format: CALL label12
Operation: PC + 2 RP
PC +2 + exts (rel11 × 2) PC
Flag change:
N, Z, V, and C: Unchanged
Execution cycles: 2 cycles
Instruction format:
Example: CALL label
...
label: ; CALL instruction address + 122
H
NZVC
––––
MSB LSB
11010
rel11
PCPC
FF80 0000 FF80 0122
FF80 0004
xxxx xxxx
RP RP
Before execution After execution
Instruction bit pattern : 1101 0000 1001 0000
Zobrazit stránku 208
1 2 ... 204 205 206 207 208 209 210 211 212 213 214 ... 313 314

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

Žádné komentáře