DL205 User Manual, 4th Edition, Rev. D
5-217
Chapter 5: Standard RLL Instructions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
A
B
C
D
ASCII Find (AFIND)
The ASCII Find instruction locates a specific ASCII string or portion of an ASCII string within
a range of V-memory registers and places the string’s Found Index number (byte number where
desired string is found) in Hex, into a specified V-memory register. Other features include,
Search Starting Index number for skipping over unnecessary bytes before beginning the FIND
operation, Forward or Reverse direction search, and From Beginning and From End selections
to reference the Found Index Value.
• Base Address: specifies the beginning V-memory
register where the entire ASCII string is stored in
memory.
• Total Number of Bytes: specifies the total number
of bytes to search for the desired ASCII string.
• Search Starting Index: specifies which byte to skip to
(with respect to the Base Address) before beginning
the search.
• Direction: Forward begins the search from lower
numbered V-memory registers to higher numbered
V-memory registers. Reverse does the search from
higher numbered V–memory registers to lower-
numbered V-memory registers.
• Found Index Value: specifies whether the Beginning
or the End byte of the ASCII string found will be
loaded into the Found Index register.
• Found Index: specifies the V–memory register where
the Found Index Value will be stored. A value of
FFFF will result if the desired string is not located
in the memory registers specified. A value of EEEE
will result if there is a conflict in the AFIND search
parameters specified.
• Search for String: up to 128 characters.
230
240
250-1
260
Parameter DL260 Range
Base Address All V-memory (See page 3-56)
Total Number of Bytes
All V-memory (See page 3-56)
or K1-128
Search Starting Index
All V-memory (See page 3-56)
or K0-127
Found Index All V-memory (See page 3-56)
Discrete Bit Flags Description
SP53 On if the CPU cannot execute the instruction.
SP71 On when a value used by the instruction is invalid.
DS Used
HPP N/A