TITLE “Program 8.1” ; a program that display OK on the monitor screen using procedure DISP .MODEL small ; select TINY model EXTERN DISP:NEAR,DISSTR:NEAR .STACK 100 .DATA ARR DB 0DH,0AH,"mESSAGE",'$' .CODE ; indicate start of CODE segment .STARTUP ; indicate start of program MOV DL, 'O' ; display 'O' CALL DISP MOV DL, 'K' ; display 'K' CALL DISP MOV DX,OFFSET ARR CALL DISSTR .EXIT ; exit to DOS ; ; a procedure that displays the ASCII contents of DL on the monitor screen. ; ************************************************** END ; end of program