Professional Documents
Culture Documents
(b) To initialize port A as an Input port in mode-0 and to input the data set by SPDT switches
through port A and store the data at RAM location 4500H.
(c) To initialize port A as input port and port B as output port in mode-0, to input the data at port A
as set by the SPDT switches and to output the same data to port B to glow the LEDs accordingly
Theory:
Program Code:
Remarks
(b) To initialize port A as an Input port in mode-0 and to input the data
set by SPDT switches through port A and store the data at RAM location
4500H.
Program Code
Remarks
(c) To initialize port A as input port and port B as output port in mode-0, to input the
data at port A as set by the SPDT switches and to output the same data to port B to glow
the LEDs accordingly.
Program Code
Remarks
Submitted By :
Roll No. : 1803071
Name : Prashant Raj Mishra
Section : EL1