GE DATANET-30 Programming Reference Manual page 180

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

Advertisement

no longer busy.
This condition can be tested via external status line 1 (NES 1). The DATANET-
30 program can now put another word in the data register and send it to the central processor.
This process repeats until the DATANET-30 program decides that sufficient words have been
transferred to the Compatibles/200 system.
The transmit example works just the reverse of receive with the exception of the DEF 2 instruc-
tion to set the CIU to the transmit mode and the DIF 1 to reset the CB 1, CB 2, and parity flip-flops.
Location
Instruction
Symbol
OPR
Operand
x
Remarks
REM
TRANSMIT TO 225 VIA CIU
07640
ORG
4000
ORIGIN LOCATION 4000
07640
011031
PIC
25
PLACE CIU ADDRESS IN C
07641
026001
DIF
1
RESET CBl, 2 AND 3
07642
251747
LDT
AD RESS
LOAD 225 ADDRESS INTO CIU
&
SET TRANS
07643
022001
SENDWD
NES
1
CIU BUSY
MODE
07644
121643
BZE
i•-1
YES TRY AGAIN
07645
601653
LDB
DATOUT
x
NO LOAD WORD TO BE TRANSFERRED
07646
060401
TRA
B,T
TRANSFER TO CIU DATA BUFFER
07647
771654
XBZ
ENDWD
IS THIS THE LAST WORD?
07650
121655
BZE
TEXIT
YES EXIT
07651
341653
ADO
DATOUT
NO ADD ONE TO MEMORY ADDRESS
07652
101643
BRU
SENDWD
GO BACK TRANSMIT NEXT WORD
07653
013560
DATOUT
IND
6000
DATANET-30 OUTPUT ADDRESS
07654
777777
ENDWD
OCT
777777
END WORD CONSTANT
07655
007722
TExir
IND
4050
EXIT ADDRESS
07656
001747
AD RESS
IND
999
225 ADDRESS-1
[IDruu&~~u~ ~@------------
C-5

Advertisement

Table of Contents
loading

Table of Contents