參數(shù)資料
型號: RX78K4
英文描述: 78K/IV Series Real-Time OS Fundamental | User's Manual[01/1997]
中文描述: 78K/IV系列實時操作系統(tǒng)的基本|用戶手冊[01/1997]
文件頁數(shù): 37/96頁
文件大?。?/td> 265K
代理商: RX78K4
CHAPTER 4 RX78K/IV SYSTEM CALL LIST
28
[C format]:
Description format used when the system call is issued in the C language and the data type of the parameter
Interface with C language
The high-level language supported in developing an application program is the C language. To issue a system
call in the C language, an assembler routine is necessary for interfacing with the OS. Therefore, the interface
routine corresponding to the system call used must be linked with each task. The format of the system call in the
C language is as follows:
ret = <name>([<parameter>],...);
ret
<name>
<parameter>
: function return value (char type)
: system call name
: input parameter
The data type of each parameter and size are as follows.
char
unsigned short
char*
: 8-bit integer
: 16-bit integer
: 24-bit pointer (large model)
16-bit pointer (small model)
Interface with assembler
To issue a system call in the assembler, set parameters to the relevant register of register bank 0 as follows.
Example of sta_tsk issuance (large model)
Example of sta_tsk issuance (small model)
The entry address of branch processing to branch to the system call is set to 40H. The branch processing module
takes out the entry address of each system call from a table created by the configurator and branches.
The configuration of the entry address storage table of system calls is as follows:
MOV
BNK0_REG1, #system call ID number
MOVW
BNK0_REG2, #parameter 1 (lower 16 bits)
MOV
BNK0_REG3, #parameter 1 (higher 8 bits)
CALLT
[40H]
MOV
BNK0_REG1, #system call ID number
MOVW
BNK0_REG2, #parameter 1
CALLT
[40H]
相關(guān)PDF資料
PDF描述
RXB06150W TRANSISTOR | BJT | NPN | 15V V(BR)CEO | FO-91VAR
RXB12350Y Bipolar NPN UHF/Microwave Transisitor
RXE005 Poly Switch PTC DEVICES
RXE010S Poly Switch PTC DEVICES
RXE025 MULTISICHERUNG RXE 0.25A
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
RX-7P 制造商:SUMIDA 制造商全稱:Sumida Corporation 功能描述:POWER INDUCTORS
RX7P-NP-101K 制造商:SUMIDA 制造商全稱:Sumida Corporation 功能描述:POWER INDUCTORS
RX7P-NP-102K 制造商:SUMIDA 制造商全稱:Sumida Corporation 功能描述:POWER INDUCTORS
RX7P-NP-121K 制造商:SUMIDA 制造商全稱:Sumida Corporation 功能描述:POWER INDUCTORS
RX7P-NP-122K 制造商:SUMIDA 制造商全稱:Sumida Corporation 功能描述:POWER INDUCTORS