ORG 100H ;Start of typical TPA for CP/M JMP START ;go to start of code DB 'EXAMPLE - ' DB 'Desc:This is a sample of a commented assembly / com file|' DB 'Date: 9/ 1/83|Time:12:30|By:sn|' CR EQU 13 ;carriage return LF EQU 10 ;line feed PRBUF EQU 9 ;CP/M print buffer function BDOS EQU 5 ;standard CP/M BDOS call address RETCPM EQU 0 ;standard address to return to CP/M START: LXI D,MESSG ;get message to send to console MVI C,PRBUF ;use buffer print function CALL BDOS ;print it JMP RETCPM ;that's all there is to it MESSG: DB CR,LF,CR,LF,CR,LF DB 'This simple program really should work. It says "Hello".' DB CR,LF,CR,LF,CR,LF DB ' HELLO',CR,LF,'$' 'This simple program really should work. It says