Microprocessor Lab 2
Microprocessor Lab 2
LECTURER: DR MUKHONGO
TECHNOLOGIST: MR KING’OO
S/N NAME REG NO. SIGNATURE
1. KELVIN MUTUNGA KIITI BSEE/488J/2020
2. EMMANUEL OCHIENG BSEE/372J/2020
3. JOSHUA OKUMU MOENGA BSEE/344J/2020
4. JEELYNE FAITH OBAI BSEE/355J/2020
5. SHELDON MAPILI BSEE/352J/2020
6. MARGARET ATEMO BSEE/323J/2020
7. THUMBI JOSEPH SIKUKUU BSEE/330J/2020
8. ERICK AGWANDA BSEE/350J/2020
9. BRIAN ODUOR BSEE/194J/2018
DATE OF ACTIVITY: 19/06/2023
OBJECTIVES
• Familiarize with the 32-bit microprocessor module board.
EQUIPMENTS
• 32- bit microprocessor board (Z3).
• Power supply unit (PS2 – PSV/EV).
• Connecting wires.
THEORY
The 32-bit microprocessor is made up of the following;
Memory unit, Display unit, Keyboard unit, Parallel I/O unit, Serial I/O Unit, Analog I/O
unit, Power supply unit, Logic probes unit and Faults unit.
1. Memory unit
The memory unit is divided as follows:
➢ EPROM system 32K: It is from initial address F8000 final address FFFFF
➢ EPROM user 32K: It is from initial address F0000 final address F7FFF
➢ RAM 32K: It is from initial address 00000 final address 07FFF. The RAM is further
divided into a system area, user area and system reserved for interaction vectors.
2. Display unit
This unit contains the display for the visualization of data and messages during the use
of the system. It receives the commands and the data directly from the data bus and
uses the following hexadecimal address lines:
✓ 350: Writing of codes
✓ 351: Writing of data
✓ 352: Reading of the state.
✓ 353: Reading data
3. Keyboard unit
This unit contains the keyboard for the emission of commands and data during the use
of the system.
PROCEDURE
i. Connect the power supply and Z3/EV Module as shown.
ii. Switch ON power on socket, power supply and press RESET button on Z3 Module
in that sequence.
iii. Press the MEM key to display the address field and select your memory i.e. 0000;
0800.
iv. Press CHG/RET to select required command.
v. Use Cursor keys (←→) to move cursor on display, INC (+) and DEC (-) to
decrement and increment values respectively.
vi. Press GO or RUN to execute your program.
OBSERVATION
• When you press the RESET button, it displays the command prompt.
• When you press the MEM button it displays the Address Field. i.e., Address 0000:0800.
• When you press the CHG/RET key it displays the DATA FIELD i.e.,0000: 0800.a.hoo
whereby .a.hoo. is the data attached to the address field; 0000:0800.
• While entering data, the INC(+) key is used for incrementing values and DEC(-) key is
used for decrementing a value.
• When you press GO it displays; GO from? where you insert the initial point of reference
for the operation then it displays Program Running after inserting the reference point.
• When you press the RUN key it displays; Program Running.
ANALYSIS
In order to power on the module, we first turn on the power socket, then the power
supply unit then the module board via the RESER button. We follow this order to
prevent electric spikes and surges which arise from back emf initially developed and
may in turn damage the electrical components.
✓ RESET key which is physically connected to the rest line of the microprocessor.
✓ CHG/RET key has a double function. The function CHG (Change) allows entering
in modification session of a value eventually present on the display (contents of a
register, memory location) the function RET (Return) allows ending the
modification session. the modification session is made evident by the presence of
the cursor on the display.
✓ The ARROW keys allow moving the cursor during the modification session.
✓ MEM key command allows examining the contents of the memory.
✓ REG key command allows visualizing/modifying the contents of all the registers
of the microprocessor.
✓ RUN key command starts a program considering the memory address
0000:0800H as the departing address. It is useful for quickly starting the
programs transferred from PC, which are positioned automatically starting from
this address.
✓ GO key command allows starting the execution of a program specifying the
departing address.
CONCLUSION
• We were able to familiarize ourselves with the 32-bit microprocessor.
• We learnt how to program a microprocessor by inserting commands at the
input(keyboard).
APPLICATIONS
i. Personal Computers: 32-bit microprocessors have been widely used in personal
computers (PCs) for many years. They power the CPU of desktops, laptops, and
workstations, providing the processing capabilities required for running operating
systems, applications, and multimedia tasks.
ii. Embedded Systems: 32-bit microprocessors are extensively used in embedded
systems, which are specialized computer systems designed to perform specific
functions within larger systems. They can be found in consumer electronics,
automotive systems, industrial control systems, medical devices, and more. 32-bit
microprocessors offer the necessary processing power to handle complex algorithms
and real-time tasks in these embedded applications.
iii. Mobile Devices: Smartphones, tablets, and other mobile devices rely on 32-bit
microprocessors to provide efficient and powerful processing capabilities. These
processors enable smooth multitasking, multimedia playback, gaming, and internet
browsing while optimizing power consumption to extend battery life.
iv. Networking Equipment: 32-bit microprocessors are utilized in networking
equipment such as routers, switches, and modems. They handle packet processing,
data routing, security protocols, and network management tasks, enabling efficient
and reliable network communication.
v. Consumer Electronics: Various consumer electronic devices, such as digital cameras,
televisions, set-top boxes, and home entertainment systems, utilize 32-bit
microprocessors for controlling and processing functions. These processors enable
advanced features, user interfaces, and connectivity options in consumer electronics.
vi. Industrial Automation: In industrial automation systems, 32-bit microprocessors are
employed for controlling and monitoring complex machinery and processes. They
enable precise control, data acquisition, and real-time decision-making, contributing
to increased efficiency, productivity, and safety in industrial environments.
vii. Gaming Consoles: Gaming consoles heavily rely on 32-bit microprocessors to provide
high-performance gaming experiences. These processors handle complex graphics
rendering, physics simulations, and AI algorithms, creating immersive gaming
environments.
viii. Automotive Systems: Modern automobiles incorporate 32-bit microprocessors for
various functions, including engine management, fuel injection, anti-lock braking
systems (ABS), airbag systems, in-car entertainment, and advanced driver assistance
systems (ADAS). These processors enable efficient and reliable operation of
automotive systems, enhancing safety and performance.
ix. Medical Devices: Medical equipment, such as imaging systems, patient monitoring
devices, and diagnostic instruments, often utilize 32-bit microprocessors for real-time
data processing, control, and communication. They enable accurate measurements,
data analysis, and integration with other medical systems.
x. Scientific and Research Applications: 32-bit microprocessors are employed in
scientific and research applications that require intensive data processing and
computation. They are used in fields such as weather forecasting, simulation, data
analysis, and scientific modeling.
REFERENCES
i. Patterson, D. A., & Hennessy, J. L. (2013). Computer Organization and Design: The
Hardware/Software Interface. Morgan Kaufmann Publishers.
ii. Brey, B. B. (2010). The Intel Microprocessors: 8086/8088, 80186/80188, 80286, 80386,
80486, Pentium, Pentium Pro Processor, Pentium II, Pentium III, Pentium 4, and Core2
with 64-Bit Extensions, 8e. Pearson Education.
iii. Risch, R. J. (2012). Microcontroller Technology: The 68HC11 and 68HC12 (5th ed.).
Pearson Education.
iv. Mazidi, M. A., McKinlay, R. H., & Causey, D. (2018). Microcontroller Systems
Engineering: 45 projects for PIC, AVR, and ARM (2nd ed.). Pearson Education.