Mitsubishi Q00JCPU User Manual page 665

Hide thumbs Also See for Q00JCPU:
Table of Contents

Advertisement

10
DEVICE EXPLANATION
(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
Figure 10.43 When 1 word is occupied by 1 function register
A two-words instruction requires 2 words.
CALLP P0 D0
Figure 10.44 When 2 words are occupied by 1 function register
The destination of 32-bit multiplication/division operation requires 4 words.
CALLP P0 D0
Figure 10.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).
10.3 Internal System Devices
10.3.1 Function devices (FX, FY, FD)
9
10
11
MOV R0 FD0
12
DMOV R0 FD0
D R0 R10 FD0
10
- 50

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents