PDA

View Full Version : Cs401 assignment no 1 spring 13 April 2011



moon13
04-13-2011, 05:26 AM
Question No. 1:

a)
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]

moon13
04-14-2011, 05:54 AM
please solve this assignment it is much difficult

asifrasheed
04-17-2011, 02:39 PM
It s mind boggling assignment. Pl solve it at earliest!

sana.pari
04-17-2011, 06:00 PM
:smileys6::smileys27::smileys27::smileys27::smiley s27::smileys27::smileys44:

moon13
04-18-2011, 03:29 AM
18 April is the last date of the assignment

shifty
04-18-2011, 05:02 AM
I have solved this assignment

shifty
04-18-2011, 05:06 AM
Complete solution of CS401 remember me in your prayers........

moon13
04-18-2011, 05:07 AM
please upload

moon13
04-18-2011, 05:08 AM
thanks a lot may GOD bless you for ever

shifty
04-18-2011, 05:12 AM
if you need help on any other subject feel free to contact me any time have fun

shifty
04-18-2011, 05:15 AM
Last Question Debugger se hoga so becareful to get the result from debugger its not the effective address of the instruction ok

shifty
04-18-2011, 05:19 AM
is code ko debugger me run karo gay jo result ho instruction ka IP se pata chalay ga
IP= Instruction pointer
I dont have the debugger to solve it so do it urself..........

sana.pari
04-18-2011, 05:22 AM
yah tu copy hi nahi hota so sad

moon13
04-18-2011, 05:36 AM
what about question no 2 and 3

sana.pari
04-18-2011, 05:49 AM
:smileys14::smileys24::smileys65::smileys13::mad:: smileys75:

hyder_master
04-18-2011, 02:10 PM
Thanx a lot

snqaisar313
04-18-2011, 05:17 PM
good shifty yaar. great work on cs401 subject

sania khan
04-18-2011, 05:55 PM
i need cs 604 610 502 401 assing sloution

Malaika khan
04-18-2011, 05:57 PM
Thank you so much...actually i dont understand this subject even a single word. kindly upload solution of exercises of handouts....May Allah bless you

Xpert
04-18-2011, 06:57 PM
Dear all your participation is required then we can do some combine effort.

zxmco125
04-19-2011, 01:08 AM
@shifty
thanks for the help. But can you please tell us how you do the question 3rd.. I can't understand it how you do it...

regards
mansoor

Xpert
04-19-2011, 02:29 AM
hmmm yah you should