GE DATANET-30 Programming Reference Manual page 73

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

Advertisement

Indexing
During indirect addressing, the first operand address can be indexed by any one of A-, B-, or C-
registers by specifying which register in the pointer. Bits 16-17 of the indirect address word
specify which register to be used for indexing as follows:
Pseudo-
Bits
~18-17-16~
Function
QEeration
000
No indexing
IND
001
Index by A
INA
Base address indexed by contents of A
010
Index by B
INB
Base address indexed by contents of B
011
Index by C
INC
Base address indexed by contents of C
The pseudo-operations IND, INA, INB, and INC are used by the General Assembly Program
to automatically add these bits as required.
_!&£__
INSTRUCTION
04000
601100
04001
404400
-.
04400
204401
04401
000054
04402
000056
04403
000046
04404
000002
05100
000002
04000
201100
04001
104400
10000
010200
10001
010300
10002
010400
10003
010500
OPR OPERAND
ORG 2048
~~
*
Convert Octal digit to baudot
*
LDB DIGIT
LDA BAUD OT
x
*
~~
BAUDOT CONVERSION TABLE
*
BAUDOT
INB *+l
OCT
54
OCT
56
OCT
46
OCT
02
DIGIT
OCT 000002
*
~~
Branch to switch table
*
Depending on contents of c-register
~~
ORG
2048
LDC DIGIT
BRU $POINT
x
ORG 4096
$POINT
IND
ENTER 0
IND
ENTER 1
IND
ENTER 2
IND
ENTER 3
111-6
REMARI{S
Pick up octal digit
Convert
Octal to Baudot Conv Table
Baudot Char 0
1
2
3
Pick up value in C-reg
GO TO ENTER 0 IF C
0
"
1
1
2
2
"
3
3

Advertisement

Table of Contents
loading

Table of Contents