\IDENT\PUNLT
* BASIC IO PACKAGE -- 19720713
* P850, P855, P860
*
* CALLING SEQUENCE:  CF   A14,NAME
* WHERE:                  A14 = REGISTER WITH LINKSTACKPOINTER
*                         NAME  = ENTRY POINT NAME OF CALLED SUBROUTINE
*
* LINKSTACK: 3 ENTRIES USED MAXIMUM
* A15 STACK IS USED FOR REGISTER SAVE AREA
\ENTRY\PUNLT
\EXTRN\PHSP
* ASSIGNMENTS
ASR\EQU\/10\DEV ADDR
HSR\EQU\/20\DEV ADDR
HSP\EQU\/30\DEV ADDR
*
S\EQU\1\START
H\EQU\0\HALT
*
* PUNLT--PUNCH LEADER/TRAILER ON HSP
*        RETURN: A5,A6=0 A7=STATUS
*
PUNLT\LDK\A5,/7F
\LDK\A6,0
\CF\A14,PHSP
\SUK\A5,1
\RB(4)\*-6
\RTN\A14
\END

