ICT5250 Computer Networks and Security
Week-1 Laboratory Practicum
Objectives
Understand the basic operations and functions of computer and CPU.
Compare the architecture and components of CPUs
Answer the following questions
1. What is ALU? Explain the following terms: Registers, Control unit, and Input and Output
devices.
2. Draw the architecture of a microcomputer and explain briefly.
3. A microcontroller is a small computer on a single Integrated Circuit (IC). Differentiate
between microprocessor and microcontroller with the support of diagrams. Provide four
examples of microcontroller and their applications in the current industry.
4. Complete the following table to demonstrate the comparison between the 8085 and 8086
microprocessors:
Table 1: Microprocessor comparison
CPU 8085 8086
Register size (bits)
Data bus
Address bus
Addressing capability
CPU Simulator
Microprocessor simulator is very useful application that helps to understand the basic operations of
CPU. The simulator executes the instructions from the user entered program, instruction by
instruction showing all the register and flag status at the end of execution of each instruction. In this
task, you will implement simple programs using 8085 simulator (sim8085) to view and understand
the execution of instructions inside the CPU.
8085 microprocessor
The 8085 microprocessor was developed by Intel as an update of 8080 microprocessor, to review
the architecture and registers of the 8085 microprocessor, search the Internet and complete the
following two tasks to be ready to write and simulate 8085 programs.
Page 1 of 4
a. List and provide short description of the 8085 CPU registers.
Answer
b. Diagram of the CPU architecture of the 8085 microprocessor system.
< -----------------Architecture of the 8085 microprocessor--------->
Simulation procedures and tasks
1. Watch the vimeo: https://vimeo.com/255261032 video, to understand the working
environment of the simulator that is required to write and simulate your first programs.
2. Open the simulator https://www.sim8085.com/
3. Write the following assembly program in the working area:
MVI A, 55h
HLT
4. Select key to load the program in the memory. The program will be loaded at 800h
location in the memory as Program count register include 800 h.
5. What is the machine code of the program (hint: go to memory location 800h)?
Answer
6. Select to execute one instruction of the program.
7. What is the function of MVI and HLT instructions?
Answer
Page 2 of 4
8. Copy your screenshot after the program execution
<------------------------------- Screenshot---------------------->
9. Illustrate in details how the MVI instruction is excluded considering interaction between the
8085 CPU and the memory.
Answer
10. Write and execute the following program
MVI L, 43h
MVI H, 12h
SHLD 0000H
HLT
Answer the followings:
1. What is the function of SHLD instruction?
Answer
2. What is the content of memory location 0001 h? why?
Answer
Page 3 of 4
3. Provide your screenshot after the program excursion that shows the memory view.
<------------------------------- Screenshot---------------------->
Page 4 of 4