Question: 6 : 2 3 . ll 5 G Assignment 1 Microcontroller ( Presentation should be given ) ANSWER ALL QUESTIONS Develop a program in assembly

6:23
.ll 5G
Assignment 1 Microcontroller
(Presentation should be given )
ANSWER ALL QUESTIONS
Develop a program in assembly language using 8255 and 8086 that can control the 12 V motor to run in forward direction and reverse direction by controlling with DPDT switch. Draw the diagram for relay driver circuit using transistors. Motor has to be connected in port A and switch has to connected in port B . Write the control word value of 8255.
Port address Port A = FFF8H, Port B =FFFAH , Port C= FFFC H , control word Register = FFFEH
(Diagram, main Program marks, control word 1 marks =5 marks )
Develop an Arduino program to display seven segment display by pressing a switch. For each time pressed, the display should be increased one digit 0,1,2,dots9 up to nine then return back to zero. [2.5 marks].
3.Write an assembly language program for performing the following operation of three numbers,
?bar((A+B)**C)
(* multiplication )
The values of A= first two digit of your student ID in hex, ,B= last two digit of student ID in hex and C=05H. Write the result in Hex.
(2.5marks)
. Execute the program and show the result
Example : student ID is 72S125634
A=72H( first 2 digit)
,B=12H( next 2 digit to letter ) and
C=34H( last 2 digit)
6 : 2 3 . ll 5 G Assignment 1 Microcontroller (

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Electrical Engineering Questions!