0% found this document useful (0 votes)
8 views11 pages

Memory Models and Microprocessor Rules

The document outlines service numbers for displaying characters and strings on the screen using specific interrupts. It details rules for input and output operations in a microprocessor context, specifically using interrupt 21h. The document also includes instructions for taking user input and displaying it on the screen.

Uploaded by

chimranishakti
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views11 pages

Memory Models and Microprocessor Rules

The document outlines service numbers for displaying characters and strings on the screen using specific interrupts. It details rules for input and output operations in a microprocessor context, specifically using interrupt 21h. The document also includes instructions for taking user input and displaying it on the screen.

Uploaded by

chimranishakti
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

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.

You might also like