Google
 

Trailing-Edge - PDP-10 Archives - BB-H580C-SB_1981 - putas3.mac
There are 7 other files named putas3.mac in the archive. Click here to see a list.
TITLE	PUTAS3 FOR COBOL V12B
SUBTTL	WRITE OUT AS3FIL WORD	AL BLACKINGTON/CAM



;THIS SOFTWARE IS FURNISHED UNDER A LICENSE AND MAY ONLY BE USED
;  OR COPIED IN ACCORDANCE WITH THE TERMS OF SUCH LICENSE.
;
;COPYRIGHT (C) 1974, 1981 BY DIGITAL EQUIPMENT CORPORATION

	SEARCH	P
	%%P==:%%P

;EDITS
;V10*****************
;NAME	DATE		COMMENTS
;********************


TWOSEG
RELOC	400000

ENTRY PUTAS3
EXTERNAL DEVDED

PUTAS3:	SOSG	AS3BHO+2	;BUFFER FULL?
	JRST	PUTASB		;YES--EMPTY IT
PUTASA:	IDPB	CH,AS3BHO+1	;PUT WORD INTO BUFFER
	POPJ	PP,

PUTASB:	OUT	AS3,		;WRITE BUFFER
	  JRST	PUTASA		;NO ERRORS--RETURN

	MOVEI	CH,AS3DEV	;ERROR -- WE LOSE
	JRST	DEVDED		;NEVER RETURN

EXTERNAL AS3BHO, AS3DEV

	END