Chapter
6
61
Data Manipulation Instructions
The data manipulation instructions are used to transfer or compare data
that is stored in data table words and bytes. There are six data manipulation
instructions:
GET –|G|–
PUT –(PUT)–
LES –|<|–
EQU –|=|–
GET BYTE –|B|–
LIMIT TEST –|L|–
The Get and Put instructions are used together to transfer 16 bits of data
from one word location in the data table to another word location. Data can
be in the form of 3-digit, binary-coded decimal numbers.
The Les and Equ instructions compare data such as 3-digit numeric values
in BCD format using the lower 12 bits of a data table word (Figure 6.1).
This 3-digit value can be a decimal number ranging from 000 to 999.
Figure 6.1
BCD Word Format
17
16
15
14
13
12
11
10
07
06
05
04
03
02
01
00
Most
Significant
Digit
Middle
Digit
Least
Significant
Digit
Upper Byte
Lower Byte
Bits 1417
Not Used
for BCD Value
But are Accessed
by Get Instruction
2
6
9
1
0
0
0
0
0
1
0
0
1
1
0
1
0
0
1
6.0
General
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com