ICS 3203 - Assembly Language Programming - January 2021
ICS 3203 - Assembly Language Programming - January 2021
The two processor families have many differences, including their processing power, power
consumption, software, and applications.
1
a) Based on the above case, list and describe FIVE main differences between the X86 and the
ARM processors. (5 Marks)
b) Draw and describe the diagram representing a simplified processor logic of the ARM
processor. (4 marks)
c) Develop a 19-bit control word structure that can be used to manage the ARM processor.
(4 marks)
e) Based on the instruction set in d) above, write a program to implement one of the most
commonly used functions of the microwave oven. (3 Marks)
b) Give FOUR benefits of implementing the traffic lights control system in the City using
assembly language programming. (4 marks)
c) Draw a flow chart to illustrate the steps followed by the program and explain the flow of
the algorithm. (2 marks)
d) Write 8086 Traffic Lights Control Assembly Program for the given case. Remember to
include comments and state any assumptions made. (10 marks)
2
ii. Immediate
iii. Register indirect
iv. Base plus index
v. Implied addressing mode (10 Marks)
b) Describe the different types of data and instructions formats used with different
microprocessors. (10 Marks)
c) In the process of ISA design, there are three important types of instructions to be
considered, list and briefly describe them. (3 Marks)
d) Briefly describe the 8086-instruction set indicating the differences between it and the
current microprocessors. (6 Marks)
b) Write an assembly program to add two numbers and display the result in decimal.
(4 Marks)
c) Briefly describe five applications of microprocessor systems. (4 Marks)
d) Differentiate between RISC and CISC and how they are related to assembly language
programming. (4 Marks)
e) Write an assembly program to multiply a decimal number by 8 using the shift instruction.
(4 Marks)