Subroutines - Hitachi S10mini Hardware Manual

Option j.net
Hide thumbs Also See for S10mini:
Table of Contents

Advertisement

4.7.2 Subroutines

Like arithmetic functions, subroutines are classified into the following four types:
Name
J_CMD
Service request subroutine, which issues the data write service
(READ/WRITE command), RESET service, and broadcast service.
J_RSP
Service subroutine, which captures the data received as a result of
READ command issuance into a specified area.
J_SND
Data transmission subroutine, which transmits data from the RS-232C
port of J.STATION to the external device.
J_RCV
Data reception subroutine, which captures the data that the RS-232C
port of J.STATION received from the external device.
Code the user program in such a programming language as C, 68000 assembly language, etc.
The handlers (subroutines) of the J.NET module are called by specifying an address from the user
program. For this reason, the handlers (subroutines) cannot be created (linked) when they are
included in the user program.
User
program
Function
(Addressing call)
4-21
4 USER GUIDE
Link address
/A0040C
/A00412
/A00400
/A00406
J_CMD
J_RSP
J_SND
J_RCV
(Handlers)

Advertisement

Table of Contents
loading

Table of Contents