File Register (R) - Mitsubishi Q00JCPU User Manual

Hide thumbs Also See for Q00JCPU:
Table of Contents

Advertisement

10
DEVICE EXPLANATION

10.7 File Register (R)

(1) Definition
(2) Bit configuration of file register
10
- 69
10.7 File Register (R)
File registers are expansion devices for data registers.
The file registers can be used at the same processing speed as the data registers.
(a) Bit configuration and write/read units
File registers, which consist of 16 bits per point, writes/reads data in 16bit units.
b15
Rn
(b) When file register is used for 32-bit instruction
If the file registers are used for 32-bit instructions, the data will be stored in
registers Rn and Rn + 1.
The lower 16 bits of data are stored in the file register No. (Rn) designated in the
sequence program, and the upper 16 bits of data are stored in the designated file
register No.+ 1.
For example, if file register R2 is designated in the DMOV instruction, the lower 16
bits are stored in R2, and the upper 16 bits are stored in R3.
Figure 10.68 Data transfer by 32-bit instruction and storage destination
Two file registers can store a range of numeric data from -2147483648 to
2147483647 or from 0
configuration is a sign bit.)
MOV
K100 R2
"100" is written to R2.
Figure 10.66 Write to file register
to
The most significant bit is sign bit.
Figure 10.67 Bit configuration of file register
DMOV
D0 R2
to FFFFFFFF
. (The most significant bit in a 32-bit
H
H
File register
R0
R1
R2
b0
Processing object: R2, R3
R3
R2
Upper 16 bits Lower 16 bits

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents