GE 90-30/20/Micro Manual De Usuario

Descargar
Página de 311
GFK-0467K
Chapter 4  Series 90-30/20/Micro Instructions Set
4-47
4
Section 5:   Bit Operation Functions   
Bit operation functions perform comparison, logical, and move operations on bit strings.  The
AND, OR, XOR, and NOT functions operate on a single word.  The remaining bit operation
functions may operate on multiple words, with a maximum string length of 256 words.  All bit
operation functions require WORD data.
Although data must be specified in 16-bit increments, these functions operate on data as a
continuous string of bits, with bit 1 of the first word being the Least Significant Bit (LSB).  The last
bit of the last word is the Most Significant Bit (MSB).  For example, if you specified three words of
data beginning at reference %R0100, it would be operated on as 48 contiguous bits.
%R0100
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
 bit 1 (LSB)
%R0101
32
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
%R0102
48
47
46
45
44
43
42
41
40
39
38
37
36
35
34
33
↑↑
(MSB)
Note
Overlapping input and output reference address ranges in multi-word functions
may produce unexpected results.