1.
a. Convert 6DB from its hexadecimal form to binary form, generate the two's complement of the resultant binary number and then convert it to decimal.
b. Subtract B = 101010 from A = 110101.
c. Suppose endianness is applied while storing the bytes of the hexadecimal number 0F0C0A0B. Show with the aid of a diagram how they would be arranged in both types of endianness.
2.
a. "Programming languages vary in the level of abstraction they provide from the hardware." Explain this statement with the aid of a diagram.
b. State the four fields in a typical Assembly Language instruction and explain the function of each.
c. Show with the aid of a diagram how the four general-purpose registers of the Intel processor grew to 32-bit registers.
3.
a. What do you understand by inline or embedded assembly?
b. i. What are the valid addition operations in Assembly language?
ii. Why are statements such as add mem, mem not valid in Assembly Language? Show with the aid of a diagram the addition of variables x and y into z, i.e. z = x + y.
c. i. State the difference between the mul and imul instructions.
ii. What are the two valid operations in one-operand imul? Explain how they work.
4.
a. Elaborate how division is carried out in Assembly Language.
b. Write a complete Assembly Language program to be executed on a 386 Intel processor that declares five integer variables and initializes the first three with values of your choice. Use instructions to increment the first, decrement the second, and negate the third. Add the first two and store the result in the fourth variable. Subtract the third from the second and store the result in the fifth variable.
5.
a. What are the three major sections of the Central Processing Unit (CPU)? Describe the function of each of them.
b. i. State and explain the three main buses inside a microcomputer.
ii. Consider a computer memory with an address bus of nine address lines. If each memory location can hold eight bits, calculate the number of addressable memory locations and the total size of the memory.
c. Explain the two types of CPU technologies and state their differences in tabular form.
6.
a. i. Consider an early-generation microcomputer that has a 16-bit data bus, and each memory location of this system holds two bytes (16 bits). How many times does this CPU need to access memory to read the word "BOOKCASE"?
ii. Explain the steps involved for a CPU to execute one instruction.
b. Explain the two types of CPU architecture.
7.
a. With the aid of a diagram, explain the concept of pipelining in instruction execution.
b. Explain the function of programmable I/O interrupt.
c. Elaborately explain the concept of DMA (Direct Memory Access).

