Chapter 5: Standard RLL Instructions - ASCII
ASCII Extract (AEX)
1
The ASCII Extract instruction extracts a specified number of bytes of ASCII data from one
230
series of V-memory registers and places it into another series of V-memory registers. Other
240
features include, Extract at Index for skipping over unnecessary bytes before begining the
2
250-1
Extract operation, Shift ASCII Option, for One Byte Left or One Byte Right, Byte Swap and
260
Convert data to a BCD format number.
3
• Source Base Address: specifies the begining
V-memory register where the entire ASCII string
DS
Used
4
is stored in memory
HPP
N/A
• Extract at Index: specifies which byte to skip to
(with respect to the Source Base Address) before
5
extracting the data
• Number of Bytes: specifies the number of bytes
6
to be extracted
• Shift ASCII Option: shifts all extracted data one
byte left or one byte right to displace
7
"unwanted" characters if necessary
• Byte Swap: swaps the high–byte and the
8
low–byte within each V-memory register of the
extracted data. See the SWAPB instruction for
details.
9
• Convert BCD(Hex) ASCII to BCD (Hex): if
enabled, this will convert ASCII numerical
10
characters to Hexidecimal numerical values
• Destination Base Address: specifies the
11
V-memory register where the extracted data
will be stored
12
13
14
A
Discrete Bit Flags
SP53
B
SP71
See the previous page for an example using the AEX instruction.
C
D
5–220
DL205 User Manual, 4th Edition, Rev. B
Parameter
Source Base Address
Extract at Index
Number of Bytes
Destination Base Address
On if the CPU cannot execute the instruction.
On when a value used by the instruction is invalid.
DL260 Range
All V-memory (See page 3 - 56)
All V-memory (See page 3 - 56)
or K0-127
K1-128
All V-memory (See page 3 - 56)
Description
Need help?
Do you have a question about the DirectLOGIC DL205 Series and is the answer not in the manual?