Hitachi NJI-350B Video Game Controller User Manual


 
Chapter 5 Instruction Specifications
5-45
Item number Arithmetic instructions-1 Name Substitution statement (ASSIGNMENT STATEMENT)
Ladder format Condition code
Processing time (µs)
Remark
R7F4 R7F3 R7F2 R7F1 R7F0
Average Maximum
d = s DER ERR SD V C
zzzz
Instruction format Number of steps
(See following table)
Condition Steps
d = s (See Notes)
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 Substitution destination {{ {{{ {{
s Substitution source {{{ {{{{{{{{
( ) Index value
{{{
Function
Substitutes the content of s into d.
It is possible to use array variables for d and s.
When d is a word, the constant is 0 to 65535 or – 32768 to + 32767 (decimal)
H0000 to HFFFF or H8000 to H7FFF (hexadecimal)
When d is a double word, the constant is 0 to 4294967295 or -2147483648 to +2147483647 (decimal)
H00000000 to HFFFFFFFF or H80000000 to H7FFFFFFF
Notes
When using an array variable, DER is set to 1 if the usable I/O number exceeds the maximum value, and DER is reset to “0”
if it is normal.
The combinations of d and s are as follows:
ds
Bit Bit
Word Word
Double word Double word
Step numbers and processing time are as follows:
Processing time (µs)
d s Number of steps ( ) indicates DW
Bit Word Double word
I/O I/O 3 (4) 32 27 35
I/O Array 4 74 66 86
Array I/O 4 (5) 52 53 71
Array Array 5 92 99 120
d = s