; TITLE "SCHL5DC - Syslib 4.0" NAME ('PHL5DC') ;================================================================= ; The Libraries, Version 4, (C) 1989 by Alpha Systems Corp. ;----------------------------------------------------------------- ; Author : Harold F. Bower ; Derived from SPHL5DC.Z80 by Richard Conn ; Date : 5 Jul 89 ; Version : 1.3 ; Module : SCHL5DC ; Abstract: This module contains the routine PHL5DC which prints the ; contents of the HL register pair in a five character field ; to the CON: device with leading zeros always printed. ; Revision: ; 1.4 8 Dec 89 Joe Wright ; Changed to use common code in SCHLFDC. Save 48 bytes. ;- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ; Module Entry Points PUBLIC PHL5DC ; From SYSLIB Get.. EXT PHLD ; From SCHLFDC .Z80 CSEG ;=============================================================== ; NAME - PHL5DC ; Entry: HL - Contains the number to be printed ; Exit : - Nothing returned, Number printed on CON: ; Uses : - None ; Special Requirements: None ;=============================================================== PHL5DC: PUSH BC ; Save BC LD B,1 ; Print leading zeroes JP PHLD ; Go to SCHLFDC END