Hitachi NJI-350B Video Game Controller User Manual


 
Chapter 5 Instruction Specifications
5-82
Item number Application instructions-12 Name Block transfer (MOVE)
Ladder format Condition code
Processing time (µs)
Remark
R7F4 R7F3 R7F2 R7F1 R7F0
Average Maximum
MOV (d, s, n) DER ERR SD V C
zzzz
Instruction format Number of steps
Condition Steps
As per the table
below.
MOV (d, s, n) 4
Bit Word Double word
Usable I/O
XY
R,
M
TD, SS,
CU, CT WX WY
WR,
WM TC DX DY
DR,
DM
Constant
Other
d
Transfer destination head I/O
{{
s Transfer source head I/O {{
n
Number of bits (words)
to be transferred
{{{{ {
The constant is set in
decimal.
Function
Transfers n bits (words) between s and s + n 1 to d + n 1.
The values between s and s + n 1 are retained. However, if the transfer source and transfer destination ranges overlap, the
transferred values will be used.
d+n-1
s+n-1
s
d
Before execution
After execution
n bits (words)
If n is a word: The contents (0 to 255) of the lower 8 bits (b7 to b0) of n (WX, WY, WR, WM, TC) are set to the
number of bits (words) to be transferred.
If n is a constant: 0 to 255 (decimal) can be designated for the number of bits (words) to be transferred.
Notes
Use this instruction so that d + n 1 and s + n 1 do not exceed the I/O range (R7BF, M3FFF, WRFFF, and WM3FF). If
the I/O range is exceeded, DER is equal to '1' and the transfer is performed to the maximum range.
If n is equal to “0,” the block transfer is not performed and DER (R7F4) will be set to “0.”
MOV (d, s, n)
Processing time (
µ
s) (Average)
n
Bit Word
1 153 124
16 165 154
32 166 197
64 175 282
128 199 430
255 226 780