plz sol question

189 views
Skip to first unread message

Nargis malik

unread,
Apr 9, 2011, 1:46:50 AM4/9/11
to vu...@googlegroups.com
Exe.1
 

Plz solved these:

Q.1         Give the value of the zero flag, the carry flag, the sign flag, and the overflow flag after each of the following instructions if AX   is               initialized with 0x1254 and BX is initialized with 0x0FFF.

a.      add ax, 0xEDAB

b.       add ax, bx

c.       add bx, 0xF001



Q.2   For each of the following words identify the byte that is stored at lower memory address and the byte that is stored at higher memory address in a little endian computer.

a.      1234

b.       ABFC

c.       B100

d.       B800


Q.3.      What are the contents of memory locations 200, 201, 202, and 203 if the word 1234 is stored at offset 200 and the word 5678 is stored at offset 202?

Q.4       Calculate the physical memory address generated by the following segment offset pairs.

a.      1DDD:0436

b.       1234:7920

c.       74F0:2123

d.       0000:6727

e.      FFFF:4336

f.        1080:0100

g.       AB01:FFFF



Q.5      What are the first and the last physical memory addresses accessible using the following segment values?

a.      1000

b.       0FFF

c.       1002

d.       0001

e.      E000

Reply all
Reply to author
Forward
0 new messages