GE DATANET-30 Programming Reference Manual page 71

Hide thumbs Also See for DATANET-30:
Table of Contents

Advertisement

Common Data Bank Addressing
The common data bank is the first 512 words of memory and may be addressed directly from
any location in memory.
In the following example, common data bank addressing is denoted by
the 2 in the third digit of the octal instruction. All instructions that refer to an address in the
common data bank will always be assigned common data bank addressing by the General Assembly
Program.
Location
Instruction
OPR
Operand
Remarks
11610
ORG
5000
11610
402024
LDA
50
LOAD A Register with contents cell 2010
11611
702231
STB
153
STORE B Register in location 15310
11612
342764
ADO
500
ADD one to location 50010
Channel Table Addressing
A channel table is a table with a mnemonic that is symbolic and starts with the character $.
The starting locations of the channel table must be a multiple of 16 decimal and located in the
first 8192 words of memory.
The channel table may be addressed directly from anywhere in
memory.
The maximum table length is 128 locations. When referred to, the base address
(starting location) is automatically indexed by the C-register.
The channel table addressing
mode will be assigned to any instruction which refers to a channel table ($ - -).
Example 1:
ORG
512
$SW1
DEC 0
Example 2:
ORG
608
$POINT DEC 0
Example 3:
4000
ORG
PIC
403040
LDA
2048
1
$SW1
Scan Word Table Channel 0
Scan Word Table Channel 1
Pointer for Channel 0
Pointer for Channel 1
The A-register is loaded with the contents of location 513
(Location 512 +value of C-register)
@£u&~~u CJ~@-------------
III-4

Advertisement

Table of Contents
loading

Table of Contents