04-13-2011, 05:26 AM
[FONT="] [/FONT]
[FONT="]Question No. 1:[/FONT][FONT="][/FONT]
[FONT="] [/FONT]
[FONT="]a)[/FONT]
[FONT="]Suppose your computer has a processor with 24-bit address lines. What is maximum amount of memory that can be attached in your system? (Show the step(s) for calculation of maximum addressable memory) (2.5 marks)[/FONT]
[FONT="] [/FONT]
[FONT="]b)[/FONT]
[FONT="]How many address bits are required for accessing 1GB RAM? (Show the step(s) for calculation of required address bits) (2.5 marks)[/FONT]
[FONT="] [/FONT]
[FONT="]Question No. 2:[/FONT]
[FONT="]What are the contents of memory locations 0151, 0152, 0153, ………….,0158 if 0151 is starting address for Label1. (1 mark for each location)[/FONT]
[FONT="] [/FONT]
[FONT="]Label1: dw 8494[/FONT]
[FONT="] db 42[/FONT]
[FONT="] dw 54[/FONT]
[FONT="] dw 7500[/FONT]
[FONT="] db 01[/FONT]
[FONT="] [/FONT]
[FONT="] [/FONT]
[FONT="]Question No. 3:[/FONT]
[FONT="] [/FONT]
[FONT="]a)[/FONT]
[FONT="]Calculate physical address using the following segment offset pairs. (1 mark each)[/FONT]
[FONT="] [/FONT]
[FONT="] [/FONT]
[FONT="]b)[/FONT]
[FONT="]What is effective address generated by the following instructions? Every instruction is independent of others. Initially bx = 0x0101, bp=0x0222, si=0x1234, var1=0x1771[/FONT]
[FONT="](1 mark each)[/FONT]
[FONT="] [/FONT]
[FONT="]Question No. 1:[/FONT][FONT="][/FONT]
[FONT="] [/FONT]
[FONT="]a)[/FONT]
[FONT="]Suppose your computer has a processor with 24-bit address lines. What is maximum amount of memory that can be attached in your system? (Show the step(s) for calculation of maximum addressable memory) (2.5 marks)[/FONT]
[FONT="] [/FONT]
[FONT="]b)[/FONT]
[FONT="]How many address bits are required for accessing 1GB RAM? (Show the step(s) for calculation of required address bits) (2.5 marks)[/FONT]
[FONT="] [/FONT]
[FONT="]Question No. 2:[/FONT]
[FONT="]What are the contents of memory locations 0151, 0152, 0153, ………….,0158 if 0151 is starting address for Label1. (1 mark for each location)[/FONT]
[FONT="] [/FONT]
[FONT="]Label1: dw 8494[/FONT]
[FONT="] db 42[/FONT]
[FONT="] dw 54[/FONT]
[FONT="] dw 7500[/FONT]
[FONT="] db 01[/FONT]
[FONT="] [/FONT]
[FONT="] [/FONT]
[FONT="]Question No. 3:[/FONT]
[FONT="] [/FONT]
[FONT="]a)[/FONT]
[FONT="]Calculate physical address using the following segment offset pairs. (1 mark each)[/FONT]
[FONT="] [/FONT]
[FONT="] [/FONT]
- [FONT="]00EA:02A4[/FONT]
- [FONT="]0100:AA23[/FONT]
- [FONT="]D3B8:F222[/FONT]
- [FONT="]00A0:1234[/FONT]
- [FONT="]8FEf:0FFF[/FONT]
[FONT="]b)[/FONT]
[FONT="]What is effective address generated by the following instructions? Every instruction is independent of others. Initially bx = 0x0101, bp=0x0222, si=0x1234, var1=0x1771[/FONT]
[FONT="](1 mark each)[/FONT]
[FONT="] [/FONT]
- [FONT="]mov ax, [bx+si][/FONT]
- [FONT="]mov ax, [bx+100] (100 is in decimal)[/FONT]
- [FONT="]mov ax, [bp+si][/FONT]
- [FONT="]mov ax, [var1+bp][/FONT]
- [FONT="]mov ax, [si+var1][/FONT][FONT="] [/FONT]

mileys6: