Run Demo

Here we present the run-time sequence of the CALCNOP.ASM program, with the first step of MASM, followed by the second step of LINK.

We now present a demo of the CALCNOP.EXE progam.  Note how the two decimal numbers are requested. The numbers inputed are then flashed back from their stored location in the Data Segment.

In the firs instance, we select the operation “+,” and we obviously enter the correct location for the operation, as it responds with “you have selected addition.

In the next instance, we select “-,” and we get the message “You have selected subtraction.”

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]