Fujitsu FR family 32-bit microcontroller instruction manue Instrukcja Użytkownika Strona 209

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 314
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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
Przeglądanie stron 208
1 2 ... 204 205 206 207 208 209 210 211 212 213 214 ... 313 314

Komentarze do niniejszej Instrukcji

Brak uwag