INMC 80 News

  

June/July/August 1980, Issue 1











Page 11 of 48











Machine Code

PRINT HL IN DECIMAL J. Addey/R. Beal

Mr. J. Addey has sent us a useful subroutine which prints HL in decimal. We have modified it for Nascom/Nas-Sys, and have also saved quite a few bytes by tidying it up and converting to full use of the Z80. Here it is complete with a little program which demonstrates the use of several Nas-Sys routines. Run the program at ODOOH and type ina value in HEXadecimal. Errors are trapped. This program is a good starting point for beginners to analyse.


This is an OCR’d version of the scanned page and likely contains recognition errors.











Page 11 of 48