Professional Documents
Culture Documents
Instructions:
Use your knowledge of Number Systems and Digital Logic Design to answer the
following questions.
Q # 1. Read the topic ‘Evolution of Intel x86 architecture’ from the book (Chapter 2)
and write a note on how the Intel microprocessor architecture has evolved over the
years highlighting all the major changes in Intel architecture. (20-Points)
Q #2. Below is shown contents of a byte addressable memory starting from address
04F8 H. (Both address and data are shown in HEX) (20-Points)
0507 9C 04FF 68
0506 29 04FE 7E
0505 48 04FD 9F
0504 6C 04FC 52
0503 29 04FB 37
0502 8A 04FA 72
0501 7D 04F9 5B
0500 88 04F8 7A
Page 1 of 3
Find value of each of the following data elements in HEX if data is stored in memory
in the same order starting from Address 04F8 H :
8-bit data, 16-bit data, 8-bit data, 32-bit data, 16-bit data, 16-bit data, 32-bit data
(c ). Which of the data elements in part (a) & (b) are stored at aligned addresses and
which data elements are stored at un-aligned addresses ?
Q # 3. (20-Points)
Below are shown contents of ARM Registers and two segments of ARM memory. All
the data is in HEX.
Page 2 of 3
Sequence of Assembly Instructions
Push { R4}
Push { R5}
MOV R5, R3
Pop {R5}
Pop {R4}
Q # 4. (20-Points)
Write a complete assembly program in ARM Assembly language. Assembly program
should do the following:
Define two arrays of 32-bit data and 8 elements each. Initialize both the arrays with
following data. Also define a 3rd array of size 32-bit and 8 elements and initialize it with
zero. Array1 and Array2 will be defined in one data section and Array3 will be defined in
separate data section using AREA directive.
Program will add corresponding elements of Array1 and Array 2 and store the resultant
elements in array3 (For addition you can use assembly instruction like ADD R6, R4, R5 ).
Push registers R4, R5, R6 and R7 at the start of the program and pop them at end of the
assembly program. Contents of registers R4, R5, R6 and R7 should remain the same at the
start and end of the program.
Page 3 of 3