Assignment Arch
Assignment Arch
EDUCATION DEPARTMENT
NRC: 300768/42/1
The data bus carries the data to be stored. The address bus determines where the data
should be stored in the memory location.
The data bus transmits the data bidirectional. The address bus is a unidirectional (single or
Like it can send and also receives the data. one way) bus
The data bus is used to carry data signals only. The address bus is used to carry address signals
only.
The data bus helps to transmit data from one The address bus is a bus that locates memory in
device to another device. the processor.
The rate of transferring data indicates the width In address bus, the amount of memory a system
of the data bus. can access indicates the width of the bus
Machine cycle: it is the cycle which consists of steps that a computers processor executes
whenever it receives a machine language instruction. It is the most basic CPU operation, and
modern CPUs are able to perform millions of machine cycles per second the cycle consist of three
standard steps which includes; fetch, decode and execute.
Processor cycle: The instruction cycle consists of four phases: fetching an instruction from
memory, decoding the fetched instruction, reading the address from memory, and finally,
instruction execution. This cycle begins as soon as the system is switched on and ends when it is
shut down. The CPU uses a cycle known as the Instruction cycle to process all of these instructions
and operations. The instruction cycle is the time it takes a CPU to execute and retrieve a complete
education.
Bus cycle: Bus cycle corresponds to a sequence of events that starts with an address being output
on system address bus followed by a write or read data transfer. During these operations, a series
of control signals are also produced by microprocessor to control direction and timing of bus.
QUESTION TWO (2)
(ii) Write down the most appropriate storage device that can be used for each requirement.
[2marks]
(a). It is used in digital cameras or mobile phones to store images, videos, and music.
(b). It is a small, rewritable and portable storage device that has to be inserted into the computer’s
USB port to store or retrieve information from it.
Pen drive
(v.) Explain what are the different functional units 8086 [5marks]
EU (Execution Unit): Execution unit gives instructions to BIU stating from where to fetch the
data and then decode and execute those instructions. Its function is to control operations on data
using the instruction decoder & ALU. EU has no direct connection with system buses as shown in
the above figure, it performs operations over data through BIU.
BIU (Bus Interface Unit): BIU takes care of all data and addresses transfers on the buses for the
EU like sending addresses, fetching instructions from the memory, reading data from the ports and
the memory as well as writing data to the ports and the memory. EU has no direction connection
with System Buses so this is possible with the BIU. EU and BIU are connected with the Internal
Bus.
(vi). Discuss the general categories of functions that are specified by computer instructions?
Processor-Memory data transfer: A data bus is used to transfer data between the memory and
the CPU
Processor-I/O data transfer: Thus, I/O data transfer is about how the three subsystems i.e. CPU,
Memory and I/O Controller, are involved in achieving the data exchange with peripherals.
Data processing: Data processing occurs when data is collected and translated into usable
information. Usually performed by a data scientist or team of data scientists, it is important for
data processing to be done correctly as not to negatively affect the end product, or data output .
Control: Data control is management oversight of information policies for an organization's
information. Unlike data quality, which focuses on fixing problems, data control is observing and
reporting on how processes are working and managing issues.
iv. Discuss the types of transfers that must a computer's interconnection structure (e.g. bus)
support? [5marks]
Memory to processor: The processor reads an instruction or a unit of data from memory.
Processor to memory: The processor writes a unit of data to memory.
I/O to processor: The processor reads data from an I/O device via an I/O module.
Processor to I/O: The processor sends data to the I/O device.
I/O to or from memory: For these two cases, an I/O module is allowed to exchange data
directly with memory, without going through the processor, using direct memory access.
Uniprogamming implies that only a single task or program is in the main memory at a particular
time. It was more common in the initial computers and mobiles where one can run only a single
application at a time. Multiprogramming is where several programs can be run at the same time.
The programs reside in the main memory or the RAM of the system at a time, and the operating
system that handles multiple programs is known as a multiprogramming operating system.
It allows only one program to sit in the memory at one The memory can hold several programs at a time.
time.
The size is small as only one program is present. The resources are allocated to different programs.
The resources are allocated to the program that is in the The size of the memory is larger as compared to
memory at that time. uniprogramming.
It only refers to data item which are It repeatedly refers to same data in
closed together in memory. short time span.
Each time new data comes into Each time same useful data comes
execution. into execution.
Example: Example:
Data elements accessed in array Data elements accessed in loops
(where each time different (or just (where same data elements are
next) element is being accessing ). accessed multiple times).
References
Barr, Michael (1 August 2009). "Computer architecture". Embedded Systems Design.
TechInsights (United Business Media). p. 2.
Dyer, S. A.; Harms, B. K. (1993). "Digital Signal Processing". In Yovits, M. C. (ed.). Advances
in Computers. Vol. 37. Academic Press. pp. 104–107.
Garnsey, Elizabeth; Lorenzoni, Gianni; Ferriani, Simone (March 2008). "Speciation through
entrepreneurial spin-off: The Acorn-ARM story.
Moore, Gordon (19 April 1965). "Computer memory": (PDF). Electronics. 38 (8).
Parab, Jivan S.; Shelake, Vinod G.; Kamat, Rajanish K.; Naik, Gourish M. (2007). Exploring C
for Microcontrollers: A Hands on Approach
Shirriff, Ken (30 August 2016). "The Surprising Story of the First Microprocessors". IEEE
Spectrum. Institute of Electrical and Electronics Engineers. 53 (9): 48–54.
Turley, Jim (18 December 2002). "Hard drive disk errors": Embedded Systems Design.
TechInsights (United Business Media).