MAIN PROGRAM WITH I/O

 

CALCNOP.ASM

This is the main program template. In its first version, calls to the ADD16, SUB16, MUL16, and DIV16 have not yet been made.  The parts of the program are explained below:

a) You are also shown how ASCII character messages can be displayed on the monitor screen. 

b) Further, you learn how to input the decimal numbers from the keyboard and output of the hexadecimal answer of the operations as ASCII characters on the monitor screen.

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] [Manual] [Exams] [Grades]