DISPLAY MESSAGES

 

DISPLAY ASCII MESSAGES ON MONITOR SCREEN

To display an ASCII message on the monitor screen, the message has be placed in the data segement with an address name followed by DB and then the message in ASCII  between single quotes as shown below:

Each ASCII message is characterized by its own address name. Thus “INTMSG” in the address offset in the data segment corresponding to the message: *********************************************** CR LF                              ...................................16-bit Calculator Program ............... CR LF                               *********************************************** CR LF

To display this message, we use the macro from the macro library included at the top of the program as show below:

 

BuiltWithNOF

[PHY353/553] [PHY353/553] [Goals] [Prof. Saj Alam] [Syllabus] [Grading Policy] [Books] [Schedule] [Lectures] [Chp 1: History of Computers] [Chp2: Binary Numbers] [Chp3: Conceptual Computer] [Software Model] [Addressing Modes] [Instruction Set] [Assembly Language] [First Program] [ADD16] [SUB16] [MUL16] [DIV16] [CALC16] [CALC32] [Manual] [Exams] [Grades]