DR/ Hassan Shehata: Microprocessor Assignments 1, 2,3
DR/ Hassan Shehata: Microprocessor Assignments 1, 2,3
Microprocessor Assignments
1 ,2,3
AC=‘00110101’ , ‘01000110’
after 1st instruction
AC=‘01111011’
AC=‘00110101’ , B=‘01000110’
after 2nd instruction
AC=‘01111011’ , D=‘01111011’ , B=‘01000110’
B=‘01000110’ , C=‘00000001’, H=‘00110101’ ,L=‘00000001’
after 3rd instruction
B=‘01000110’ , C=‘00000001’, H=‘01111011’ ,L=‘00000010’
B=‘01000110’ , C=‘00000001’, D=‘00110101’ ,E=‘00000001’ ,H=‘oxxx’ , L=‘oxxx’
after 4th instruction
B=‘01000110’ , C=‘00000001’, H=‘01111011’ ,L=‘00000010’, D=‘01111011’ ,E=‘ox20’
AC=‘01000110’ , M1=‘00000001’, M2=‘xxxxxxxx’
after 5th instruction
AC=‘01000111’ , M1=‘00000001’, M2=‘01000111’
M3=‘0100011000000001’, B=‘00110101’ ,C=‘00000001’ ,H=‘oxxx’ , L=‘oxxx’ ,
M4=‘xxxxxxxxxxxxxxxxxx’
after 6th instruction
M3=‘0100011000000001’, B=‘00110101’ ,C=‘00000001’ ,
H=‘01111011’ , L=‘00000010’ ,
M4=‘0111101100000010’
Assignment 3
DC Motor Controlling System using
PIC IC 61F84A
Automated multi-stored car parking system using intel 8051
Idea :Automatic multistoried car parking system helps to minimize the car parking area.
, it is become necessity to avoid the wastage of space . In places where more than 100 cars need to
be parked, this system proves to be useful in reducing wastage of space using intel 8051 . This
Automatic Car Parking System enables the parking of vehicles, floor after floor and thus reducing
the space used. Here any number of cars can be parked according to the requirement. This makes
the system modernized and even a space-saving one.
Main sections in this model are
3.1. Display section
3.2. Keyboard, indicator & Beeper section
3.3. Lift & motor section
3.4. Sensor section
3.5. LCD section
The 8051 microcontroller generic part number actually includes a whole family of microcontrollers
that have numbers ranging from 8031 to 8751.
The features unique to microcontrollers:
1. Internal ROM and RAM
2. I/O ports with programmable pins
3. Timers and counters
4. Serial data communication
The 8051 architecture consists of these specific features:
1. 8 bit CPU with registers A and B
2. 16 bit PC &data pointer (DPTR)
3. 8 bit program status word (PSW)
4. 8 bit stack pointer(SP)
5. Internal ROM or EPROM (8751)of 0(8031)to 4k(8051)
6. Internal RAM of 128 bytes.
7. 4 register banks , each containing 8 registers
8. 80 bits of general purpose data memory
9. 32 input/output pins arranged as four 8 bit ports:P0-P3
10. Two 16 bit timer/counters:T0-T1
11. Two external and three internal interrupt sources
12. Oscillator and clock circuits
Assignment 2
The transitional shift of processors “Zilog Z80 - Intel 8086 – Motorola M68000 ”
Zilog Z80:
The Z80 offered many real improvements over the 8080, 16 registers (2 of them “index registers
offering indexing capabilities and an interrupt-vector register and memory refresh register to
provide special interrupt functions and dynamic memory capabilities.”)
it included a memory controller and 10 addressing modes
Less hardware required for power supply, clock generation and interface to memory and I/O
A non maskable interrupt (NMI) which can be used to respond to power down situations and/or
other high priority events (and allowing a minimalistic Z80 system to easily implement a two-level
interrupt scheme in mode 1).