DL205 User Manual, 4th Edition, Rev. B
5–228
Chapter 5: Standard RLL Instructions - ASCII
1
2
3
4
5
6
7
8
9
10
11
12
13
14
A
B
C
D
ASCII Swap Bytes (SWAPB)
The ASCII Swap Bytes instruction swaps byte positions (high–byte to low–byte and low–byte
to high–byte) within each V-memory register of a series of V-memory registers for a specified
number of bytes.
•
Starting Address
: specifies the begining
of a series of V–memory registers the
instruction will use to begin byte
swapping
•
Number of Bytes
: specifies the number
of bytes, begining with the Starting
Address, to byte swap
ý
ý
ý
þ
230
240
2
5
0
-1
2
6
0
Parameter
DL260 Range
Starting Address
All V-memory (See page 3-56)
Number of Bytes
All V-memory (See page 3-56) or K1 to 128
Discrete Bit Flags
Description
SP53
On if the CPU cannot execute the instruction.
SP71
On when a value used by the instruction is invalid.
A
B
C
E
D
xx
V2000
V200
1
V2002
V200
3
High
Low
N
o
B
yte S
w
app
i
n
g
B
yte S
w
ap
A
ll
B
A
D
xx
C
E
V2000
V200
1
V2002
V200
3
High
Low
000
5
h
B
yte S
w
ap
A
ll
bu
t N
u
ll
B
A
D
xx
C
E
V2000
V200
1
V2002
V200
3
High
Low
000
5
h
B
yte
B
yte
000
5
h
B
yte
(
A
I
N
,
A
E
X,
PR
I
N
T
V
,
V
PR
I
N
T
)
B
yte S
w
ap
P
r
e
f
e
r
en
c
e
s
B
C
D
E
A
A
D
C
E
B
B
C
D
E
A
B
C
D
E
A
A
D
C
E
B
DS
Used
HPP
N/A