Mitsubishi Q00JCPU User Manual page 494

Q series, logic
Hide thumbs Also See for Q00JCPU:
Table of Contents

Advertisement

9
DEVICE EXPLANATION
9
9.3 Internal System Devices
- 43
9.3.1 Function devices (FX, FY, FD)
(c) Function registers (FD)
• Function registers are used to perform write/read of data between the sub-
routine call source and the subroutine program.
• The function register I/O condition is automatically determined by the High
Performance model QCPU. If the subroutine program data is the source data,
the data is designated as subroutine input data.
If the subroutine program data is the destination data, the data is designated
as subroutine output data.
• 1 function register occupies a maximum of 4 words.
The number of words used depends on an instruction in a subroutine
program.
A one-word instruction requires 1 word.
CALLP P0 D0
Diagram 9.43 When 1 word is occupied by 1 function register
A two-words instruction requires 2 words.
CALLP P0 D0
Diagram 9.44 When 2 words are occupied by 1 function register
The destination of 32-bit multiplication/division operation requires 4 words.
CALLP P0 D0
Diagram 9.45 When 4 words are occupied by 1 function register
CPU module word data devices can be used.
P0
The data is stored in one point (D0).
P0
The data is stored in two points (D0 and D1).
P0
The data is stored in four points (D0 to 3).
MOV R0 FD0
DMOV R0 FD0
D R0 R10 FD0

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents