beautypg.com

FUJITSU F2MCTM-16LX User Manual

Page 598

background image

582

APPENDIX

Physical direct branch addressing (addr24)

Specify an offset explicitly for the branch destination address. The size of the offset is 24 bits. Physical

direct branch addressing is used for unconditional branch, subroutine call, or software interrupt instruction.

Figure B.3-4 Example of Direct Branch Addressing (addr24)

I/O direct addressing (io)

Specify an 8-bit offset explicitly for the memory address in an operand. The I/O address space in the

physical address space from 000000H to 0000FFH is accessed regardless of the data bank register (DTB)

and direct page register (DPR). A bank select prefix for bank addressing is invalid if specified before an

instruction using I/O direct addressing.

Figure B.3-5 Example of I/O Direct Addressing (io)

JMPP 333B20H

Before execution

PC 3 C 2 0

After execution

PCB 4 F

PC 3 B 2 0

PCB 3 3

4F3C23H 3 3
4F3C22H 3 B
4F3C21H 2 0
4F3C20H 6 3 JMPP 333B20H

Memory space

Next instruction

333B20H

(This instruction causes an unconditional branch by direct branch 24-bit
addressing.)

MOVW A, i:0C0H (This instruction reads data by I/O direct addressing and stores it in A.)

Before execution

A 0 7 1 6 2 5 3 4

After execution

A 2 5 3 4 F F E E

F F

Memory space

E E

0000C1H
0000C0H