DL205 User Manual, 4th Edition, Rev. B
5–37
Chapter 5: Standard RLL Instructions - Immediate
1
2
3
4
5
6
7
8
9
10
11
12
13
14
A
B
C
D
Out Immediate Formatted (OUTIF)
The Out Immediate Formatted instruction outputs a 1 to 32
bit binary value from the accumulator to specified output
points
at the time the instruction is executed
. Accumulator bits
that are not used by the instruction are set to zero.
In the following example when C0 is on,the binary pattern for X10 –X17 is loaded into the
accumulator using the Load Immediate Formatted instruction. The binary pattern in the
accumulator is written to Y30–Y37 using the Out Immediate Formatted instruction. This
technique is useful to quickly copy an input pattern to outputs (without waiting for the CPU
scan).
Operand Data Type
DL260 Range
aaa
bbb
Outputs Y
0–1777
–
Constant K
–
1–32
bbb
K
Y
aaa
OUTIF
LDIF
X10
CO
K8
K8
X10
0 0 0 0 0 0 0 0 1 0 1 1 0 1 0 1
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
K8
Y30
X10
X11
X12
X13
X14
X15
X16
X17
ON
OFF
ON
OFF
ON
ON
OFF
ON
Y30
Y31
Y32
Y33
Y34
Y35
Y36
Y37
ON
OFF
ON
OFF
ON
ON
OFF
ON
K8
Load the value of 8
consecutive locations into the
accumulator, starting with X10.
OUTIF
Y30
Copy the value in the lower
8 bits of the accumulator to
Y30-Y37
Direct
S
OFT
Unused accumulator bits
are set to
z
ero
Location
Constant
A
cc.
Location
Constant
OUT
GX
Handheld Programmer Keystrokes
S
T
R
$
0
A
EN
T
5
F
3
D
0
A
3
D
A
N
D
S
T
L
8
I
EN
T
EN
T
NE
X
T
NE
X
T
NE
X
T
NE
X
T
S
H
F
T
5
F
1
B
0
A
8
I
S
H
F
T
8
I
8
I
ý
ý
ý
þ
230
240
2
5
0
-1
2
6
0
DS
Used
HPP
Used