File Register (R) - Mitsubishi Electric MELSEC-Q00U(J)CPU User Manual

Table of Contents

Advertisement

4.7

File Register (R)

The file register (R) is a device provided for extending the data register.
The file register can be used at the same processing speed as the data
(1) Bit structure of the file register
(a) Bit structure and read/write unit
One point of the file register consists of 16 bits, and data can be read or written in units of 16 bits.
(b) When using a 32-bit instruction for the file register
The processing target is R
The lower 16 bits correspond to the file register number (Rn) specified in the sequence program, and the
higher 16 bits correspond to the specified file register number + 1.
For example, when R2 is specified in the DMOV instruction, R2 represents the lower 16 bits and R3 represents
the higher 16 bits.
Data of -2147483648 to 2147483647 or 00000000
register. (The most significant bit in a 32-bit structure is a sign bit.)
Note 4.5
Universal
The Q00UJCPU does not have the file register.
390
Note 4.5
MOV
K100 R2
b15
Rn
Most significant bit represents a sign bit.
and R
.
n
n +1
DMOV
register.Note 4.5
File register
R0
R1
100 is written to R2.
R2
to
D0
R2
Processing target: R2, R3
R3
Upper 16 bits Lower 16 bits
to FFFFFFFF
can be stored in a two-point area of the file
H
H
b0
R2

Advertisement

Table of Contents
loading

Table of Contents