Lab Activity-2-Simple Input and Output
Lab Activity-2-Simple Input and Output
CCS003L
(Computer System and Architecture)
EXERCISE
2
A Simple Input and Output Using MOV Instructions
Section:
Professor:
The mov ah,1h and int 21h means that you are using function 01h of the Interrupt type
21... where 01h is as you said is to read character from standard input, with echo, result
is stored in AL.
if there is no character in the keyboard buffer, the function waits until any key is
pressed. It comes under type 21h of various interrupt. tables
V. EXPERIMENTAL PROCEDURE:
1. Create a program that will ask the user to enter a letter. Display the letter and display your
favorite number.
VI. QUESTION AND ANSWER:
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
Note: The following rubrics/metrics will be used to grade students’ output in the lab
Exercise 1.