
27
CHAPTER 4 RX78K/IV SYSTEM CALL LIST
This chapter describes the following items of each system calls:
[Function]:
Outline of the function of the system call
[Remarks]:
Describes the function of the system call
[System call ID number]:
Number particular to system call when the assembler calls the system call
[Parameter]:
Describes the name, data size, and explanation of each parameter.
[Return parameter]:
A list of return values that may occur as a result of issuance of the system call. The return value is returned as a
function value of the system call in the case of the C language, and to register C in the case of the assembler.
Since no abnormal termination processing is performed for all the system calls, add abnormal termination
processing by referring to the value of the return parameter.
[Assembler format]:
Describes which register is used for output parameter, and how to handle an input parameter when the system call
is issued in the assembler.
For the system call called from an interrupt handler, describes which register is used as an input parameter. The
symbols described in the assembler format have the following addresses:
[Large model]
bnk0_b = 0FFEF3H, bnk0_vp = 0FFEF8H, bnk0_up = 0FFEFAH,
bnk0_e = 0FFEFCH, bnk0_d = 0FFEFDH
[Small model]
bnk0_b = 0FEF3H, bnk0_vp = 0FEF8H, bnk0_up = 0FEFAH,
bnk0_e = 0FEFCH
The system call which can be issued from an interrupt handler uses the register bank of that time.
The following is described in the assembler format:
[Large model]
Example
E, UUP, VVP
[Small model]
Example
E, UP, VP