Memory Models
Here name is the name of the procedure.
SERVICE NUMBERS
02h:
it is used to display single character on screen.
01h:
Used to take single character as input from keyboard.
09h:
Used to display string on screen.
It is
RULES OF MICROPROCESSOR:
RULE:1 Display single character on screen
Invoke interrupt 21h(for input/output operations).
RULE:2 Get input as single character from keyboard.
Service number 01h.
Invoke interrupt 21h for operation.
RULE:3 Display string value on the screen.
Service number 09h for storing input in register.
It must be stored in ah register.
Invoke interrupt 21h.
.data will be used for this operation.
Take a single character input from user and display on screen.
Take a single character input from user and display on next line.