; TITLE "SLA3DC - Syslib 4.0" NAME ('LA3DC') ;================================================================= ; The Libraries, Version 4, (C) 1989 by Alpha Systems Corp. ;----------------------------------------------------------------- ; Author : Harold F. Bower ; Derived from SLADC.Z80 by Richard Conn ; Date : 6 Jul 89 ; Version : 1.3 ; Module : SLADC ; Abstract: This module contains the routine LA3DC which prints ; the byte in the A register as 3 decimal characters on the ; LST: device. Leading Zeros are printed. ; Revision: ; 1.4 9 Dec 89 Joe Wright ; Use common code in SLAFDC. ;- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ; Module Entry Points PUBLIC LA3DC ; From SYSLIB Get.. EXT @ADL1 .Z80 CSEG ;=============================================================== ; NAME - LA3DC ; Entry: A = Byte to print ; Exit : - No values are returned. The byte is printed on the ; LST: device as three characters with leading zeros. ; Uses : - None ; Special Requirements: None ;=============================================================== LA3DC: PUSH BC LD B,1 ; List leading zeroes JP @ADL1 ; Go to common code in SLAFDC END