Fujitsu F2MCTM-16LX Uživatelský manuál Strana 597

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 682
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 596
581
APPENDIX B Instructions
Figure B.3-2 Example of Register Direct Addressing
Direct branch addressing (addr16)
Specify an offset explicitly for the branch destination address. The size of the offset is 16 bits, which
indicates the branch destination in the logical address space. Direct branch addressing is used for an
unconditional branch, subroutine call, or software interrupt instruction. Bits 23 to 16 of the address are
specified by the program bank register (PCB).
Figure B.3-3 Example of Direct Branch Addressing (addr16)
MOV R0, A
Before execution
A 0 7 1 6 2 5 3 4
After execution A 0 7 1 6 2 5 6 4
(This instruction transfers the eight low-order bits of A to the general-purpose
register R0.)
? ?
R0
Memory space
3 4
R0
Memory space
JMP 3B20H
Before execution
PC 3 C 2 0
After execution
(This instruction causes an unconditional branch by direct branch addressing
in a bank.)
PCB 4 F
PC 3 B 2 0
PCB 4 F
4F3C22H 3 B
4F3C21H 2 0
4F3C20H 6 2 JMP 3B20H
Memory space
Next instruction
4F3B20H
Zobrazit stránku 596
1 2 ... 592 593 594 595 596 597 598 599 600 601 602 ... 681 682

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

Žádné komentáře