beautypg.com

Callf !faddr, Tcall !addr – NEC PD754144 User Manual

Page 284

background image

CHAPTER 11 INSTRUCTION SET

284

User’s Manual U10676EJ3V0UM

CALLF !faddr

Function: [MkI mode]

(SP–1)

PC

7-4

, (SP–2)

PC

3-0

(SP–3)

MBE, RBE, 0, 0

(SP–4)

PC

11-8

, SP

SP–4

PC

11-0

0+faddr

faddr = 0000H to 07FFH

[MkII mode]

(SP–2)

Ч, Ч, MBE, RBE

(SP–3)

PC

7-4

, (SP–4)

PC

3-0

(SP–5)

0, 0, 0, 0, (SP–6)

PC

11-8

SP

SP–6

PC

11-0

0+faddr

faddr = 0000H to 07FFH

Saves the contents of the program counter (return address), MBE, and RBE to the data memory (stack) addressed

by the stack pointer (SP), decrements the SP, and then branches to an address specified by 11-bit immediate data

faddr. The address range from which a subroutine can be called is limited to 0000H to 07FFH (0 to 2047).

TCALL !addr

Function:

This is an assembler directive for table definition by the GETI instruction. It is used to replace a 3-byte CALL !addr

instruction with a 1-byte GETI instruction. Describe 12-bit address data as addr. For details, refer to RA75X

Assembler Package Language User’s Manual.

I/II

This manual is related to the following products: