Monitor Operating System (MOS) of the Primer can be used to display results of the program at the LEDs in Hex or BCD by using appropriate routine calls from the monitor program. The primer is managed by the 8279 programmable interfacing device such as keyboard or display.
The seven-segment LEDs are connected to use the multiplexed technique. It cannot be directly accessed by writing subroutine services provided by the MOS.
Following points must be kept in mind:
- The MOS includes 36 service routines that the user can call by simply loading the service number in register C.
- The Primer Manual contains all the above available subroutines available for the user.
- For example, to display 96H in the accumulator at the user LED port in Hex byte stored in register E, we need to call service 1BH.
F001 3E MVI A, 96H F002 96 F003 5F MOV E, A F004 0E MVI C, 1BH F005 1B F006 CD CALL 1000H F007 00 F008 10 F009 FF RST 7
Following instructions can be modified as follows:
You need to enter the above codes at location F001H and then execute the code. The code will display the required 96H in the data field of the seven-segment display.
Attention reader! Don’t stop learning now. Get hold of all the important CS Theory concepts for SDE interviews with the CS Theory Course at a student-friendly price and become industry ready.
- How to Display/Hide functions using aria-hidden attribute in jQuery ?
- Allocating kernel memory (buddy system and slab system)
- Python | Display images with PyGame
- Python | Display text to PyGame window
- What is VDU(Visible Display Unit)?
- What is Raster Scan Display Mechanism?
- Java Program to Display Dates of a Calendar Year in Different Format
- Java Program to Display the ATM Transaction
- How to Display an OpenCV image in Python with Matplotlib?
- Java Program to Display Current Date and Time
- Java Program to Display Floyd’s Triangle
- Timer in C++ using system calls
- Common Bus System using multiplexers
- Number System and Base Conversions
- SAR command in Linux to monitor system performance
- Software Engineering | System configuration management
- Overflow in Arithmetic Addition in Binary Number System
- Introduction of Microcomputer System
- Logical and Physical Address in Operating System
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to email@example.com. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.