0% found this document useful (0 votes)
71 views

Microprocessor and Interfacing Assignment

This document outlines several microprocessor and interfacing assignments for an Intel 8086 assembly language course. It includes designing a traffic light control system using assembly code, writing programs to perform matrix addition and display the results, writing programs to accept and display a name from the keyboard, and writing a program to implement a two-player guessing game that allows three tries to guess a randomly generated string and continues or exits based on user input. Students are divided into groups to complete different combinations of the assignments, with all groups required to complete the two-player guessing game assignment.

Uploaded by

Tolesa Shore
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
71 views

Microprocessor and Interfacing Assignment

This document outlines several microprocessor and interfacing assignments for an Intel 8086 assembly language course. It includes designing a traffic light control system using assembly code, writing programs to perform matrix addition and display the results, writing programs to accept and display a name from the keyboard, and writing a program to implement a two-player guessing game that allows three tries to guess a randomly generated string and continues or exits based on user input. Students are divided into groups to complete different combinations of the assignments, with all groups required to complete the two-player guessing game assignment.

Uploaded by

Tolesa Shore
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Microprocessor and Interfacing Assignment

1. Designing a traffic light control system using the Intel 8086 microprocessor involves writing
assembly language code to control the traffic light sequence and interfacing it with hardware.
Additionally, you can use Proteus software for simulation and testing and refer more
different sites and you can set the time counter as you recommended i.e green, red, and
yellow light display time.

2. Write an assembly program to read in decimal inputs as two 3*3 matrices perform addition
and display the result as the matrix form.
3. Write assembly language program to enter your name from the keyboard and display it at
a specified location on the screen in front of the message. What is your name? You must
clear the entire screen before display.
4. Write assembly language program to enter your name from the keyboard and display it at
a specified location on the screen in front of the message. What is your name? You must
clear the entire screen before display

5. Suppose we have a two-player game. The game works in the following sequence:

a) The machine prompts player1 to enter a 6-character string


b) The machine receives and saves the string
c) The machine prompts player 2 to guess player1’s string.

It allows only 3 guesses, after each trial (try < 3) it displays “wrong guess, Try again” and returns
to (b) if wrong or displays “congra! You win, New game?” and waits until a key is pressed. If
key ‘Y or ‘y’’ is pressed it returns to (a) and start a new game, else if key ‘N’ or ‘n’ is pressed it
exits the game, but ignores any other key. If all 3 attempts of player2 are wrong (try >= 3) The
machine displays “sorry you lose, Play again?” and waits for a key. If ‘Y or ‘y’’ is pressed it
returns to (a) and start a new game, else if ‘N’ or ‘n’ is pressed it exits the game, but ignores any
other key.
So, write 80x86 assembly language program to implement the game.

Group one- Q1 qnd Q5


Group two-Q2 and Q5
Group Three- Q3 qnd Q5
Group Four Q4 and Q5

NB: Question 5( Q5) is common for all and Submission date January 4/2016EC

You might also like