cs401 assignment no 1 spring 2011 idea solution
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)
b)
How many address bits are required for accessing 1GB RAM? (Show the step(s) for calculation of required address bits) (2.5 marks)
Question No. 2:
What are the contents of memory locations 0151, 0152, 0153, ………….,0158 if 0151 is starting address for Label1. (1 mark for each location)
Label1: dw 8494
db 42
dw 54
dw 7500
db 01
Question No. 3:
a)
Calculate physical address using the following segment offset pairs. (1 mark each)
00EA:02A4
0100:AA23
D3B8:F222
00A0:1234
8FEf:0FFF
b)
What is effective address generated by the following instructions? Every instruction is independent of others. Initially bx = 0x0101, bp=0x0222, si=0x1234, var1=0x1771
(1 mark each)
mov ax, [bx+si]
mov ax, [bx+100] (100 is in decimal)
mov ax, [bp+si]
mov ax, [var1+bp]
mov ax, [si+var1]
Remember Me In Your Prayers
--
--
We say, "Be one as Pakistani Nation and grow up for Pakistan's Future". Wish you all the best. Join www.vuaskari.com,
To post to this group, send email to vuaskari_com@googlegroups.com
Visit these groups:
This (Main) Group:http://groups.google.com/group/vuaskari_com?hl=en?hl=en
MIT/MCS Group: http://groups.google.com/group/vu_askarimit?hl=en?hl=en
HRM Group: http://groups.google.com/group/askari_hrm?hl=en?hl=en
Banking Group: http://groups.google.com/group/askari_banking?hl=en?hl=en
Management: https://groups.google.com/group/vuaskari_mgt?hl=en
Marketing: https://groups.google.com/group/vuaskari_mkt?hl=en
MIS Group: http://groups.google.com/group/askari_mis?hl=en
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)
b)
How many address bits are required for accessing 1GB RAM? (Show the step(s) for calculation of required address bits) (2.5 marks)
Question No. 2:
What are the contents of memory locations 0151, 0152, 0153, ………….,0158 if 0151 is starting address for Label1. (1 mark for each location)
Label1: dw 8494
db 42
dw 54
dw 7500
db 01
Question No. 3:
a)
Calculate physical address using the following segment offset pairs. (1 mark each)
00EA:02A4
0100:AA23
D3B8:F222
00A0:1234
8FEf:0FFF
b)
What is effective address generated by the following instructions? Every instruction is independent of others. Initially bx = 0x0101, bp=0x0222, si=0x1234, var1=0x1771
(1 mark each)
mov ax, [bx+si]
mov ax, [bx+100] (100 is in decimal)
mov ax, [bp+si]
mov ax, [var1+bp]
mov ax, [si+var1]
Remember Me In Your Prayers
On 17 April 2011 15:47, Adnan Majeed <mc100202206@vu.edu.pk> wrote:
AOAI NEED CS401 ASSIGNMENT IDEA SOLUTION TOMMORROW IS LAST DATE PLEASE HELP ME THANKS--
We say, "Be one as Pakistani Nation and grow up for Pakistan's Future". Wish you all the best. Join www.vuaskari.com,
To post to this group, send email to vuaskari_com@googlegroups.com
Visit these groups:
This (Main) Group:http://groups.google.com/group/vuaskari_com?hl=en?hl=en
MIT/MCS Group: http://groups.google.com/group/vu_askarimit?hl=en?hl=en
HRM Group: http://groups.google.com/group/askari_hrm?hl=en?hl=en
Banking Group: http://groups.google.com/group/askari_banking?hl=en?hl=en
Management: https://groups.google.com/group/vuaskari_mgt?hl=en
Marketing: https://groups.google.com/group/vuaskari_mkt?hl=en
MIS Group: http://groups.google.com/group/askari_mis?hl=en
--
M.Saleem Khan
PSA (PAEC), Multan
MCS (2nd Semester)
0333-6060997, 0344-6440383 & 061-6000468
--
We say, "Be one as Pakistani Nation and grow up for Pakistan's Future". Wish you all the best. Join www.vuaskari.com,
To post to this group, send email to vuaskari_com@googlegroups.com
Visit these groups:
This (Main) Group:http://groups.google.com/group/vuaskari_com?hl=en?hl=en
MIT/MCS Group: http://groups.google.com/group/vu_askarimit?hl=en?hl=en
HRM Group: http://groups.google.com/group/askari_hrm?hl=en?hl=en
Banking Group: http://groups.google.com/group/askari_banking?hl=en?hl=en
Management: https://groups.google.com/group/vuaskari_mgt?hl=en
Marketing: https://groups.google.com/group/vuaskari_mkt?hl=en
MIS Group: http://groups.google.com/group/askari_mis?hl=en
Comments
Post a Comment