2 immediate addressing – NEC 78K/0 Series User Manual

Page 21

Advertising
background image

21

CHAPTER 3 ADDRESSING

User's Manual U12326EJ4V0UM

15

0

PC

8 7

7

0

fa

10

to fa

8

11 10

0

0

0

0

1

6

4

3

CALLF

fa

7

to fa

0

3.1.2 Immediate addressing

[Function]

Immediate data in the instruction word is transferred to the program counter (PC) and branched.

This function is carried out when the “CALL !addr16” or “BR !addr16” or “CALLF !addr11” instruction is

executed. The CALL !addr16 and BR !addr16 instructions can be branched to all memory spaces. The

CALLF !addr11 instruction is branched to the area of 0800H to 0FFFH.

[Illustration]

CALL !addr16, BR !addr16 instruction

CALLF !addr11 instruction

15

0

PC

8 7

7

0

CALL or BR

Low Addr.

High Addr.

Advertising