Raphel Banda PCF 113 DNEP 3.2
Raphel Banda PCF 113 DNEP 3.2
TRUST ACADEMY
IN COLLABORATION WITH
MIDLANDS STATE UNIVERSITY
Assignment 2 microprocessors
Assignment 2
It is a specification describing how hardware and software technologies interact to create a computer
platform or system. Computer architecture consists of three main categories which are system design,
instruction set architecture and microarchitecture.
A CPU architecture is defined by the set of machine language which can be defined as a
2a. Mention what are the common components of a microprocessor are? (5)
I/O Units
Control Unit
Registers
Cache
In direct mapping, the RAM is used to store data and some of the data is stored in the Cache. The
address space is divided into two parts index field and tag field. The tag field is used to store the tag
field whereas the rest is stored in the main memory.
ii. Explain if the internal bus connects only register within the CPU, how would
you get data to and from memory? (5)
Raphel Banda PCF 113 DNEP 3.2
The AR or Address Register is used to select a memory address, and the Data Register is used
to send and receive the data. Both these register are connected to the internal BUS, and the
Data Register acts as a bridge between the memory data BUS and internal BUS.
iii. Explain what is WAIT state? (5)
A WAIT state plays a key role in preventing CPU speed incompatibilities. Many times the processor is at
ready state to accept data from a device or location, but there might be no input available. In such case
there will be wastage of CPU time, and the system gets into WAIT state.
3a. Explain how you can deal with WAIT state? (5)
The one way to deal with WAIT state is increasing the microprocessor clock period by reducing the clock
frequency. The second way is by using special control input READY. It allows the memory to set its own
memory cycle time.
iii. How many interrupts does 8085 have mention them (5)
The 8085 microprocessor has five interrupt inputs. They are TRAP, RST 7.5, RST 6.5, RST 5.5, and INTR.
4a. How many machine cycles does 8085 have? Mention them. (7)
b. Give the difference between Harvard Architecture and von Neumann Architecture? (10)
Raphel Banda PCF 113 DNEP 3.2
In Harvard architecture, the CPU is connected with both the data memory (RAM) and program memory
(ROM), separately, it requires more hardware since it will be requiring separate data and address bus for
each memory.
In Von-Neumann architecture, there is no separate data and program memory. Instead, a single memory
Raphel Banda PCF 113 DNEP 3.2
connection is given to the CPU, this requires less hardware since only a common memory
needs to be reached.
8051 is an 8-bit microcontroller which means that most available operations are limited to 8 bits.
b. What are the difference between bit addressable and byte address in
In Byte addressable we can only access the data by byte by byte i.e. whole bunch of 8 bits, but in bit
addressable addresses we can access or manipulate each bit individually.
Intel 8051 is an 8-bit microcontroller which means that most available operations are limited to 8 bits.
END