title Module from library BASE_2 : COMCHR name ('COMCHR') maclib baselib.lib ; Output constant characters to any device ; Copyright (C) Werner Cirsovius ; Hohe Weide 44 ; D-20253 Hamburg ; Tel.: +49-40-4223247 ; Version 1.0 December 1987 ; ENTRY Reg E holds constant character ; Reg B holds number of characters to be printed ; EXIT None entry comchr extrn comout comchr: ld a,e ; Get constant call comout ; .. to console djnz comchr ; Count down ret end