Professional Documents
Culture Documents
-Nishant,Marmik,Karthikeyan
Time:40 mins Marks: 30
1)What do you mean by 8 bit Processor or Controller?(1)
2)A digital computer has a memory unit with 32 bits word.The instruction
set consists of 280 different instructions .Each instruction consists of an
opcode part and the rest for address part(1 operand).Each instruction is
stored in two words of memory(3)
i)What is the maximum allowable size of memory
ii)How many bits are needed for the opcode field?
iii)How many bits for address field?
3)Prashanth is unaware about the endianness of his system and goes
around asking people to help him out with a C code
i)Please develop a C code that will help him find his system's
endianness(2)
ii)He finally finds that he is using a 'little-endian' system and wants to
convert it into 'big-endian'.What thought could have made him decide so?
Suggest an easier way of doing this using assembly language(Consider
8086)(2)
iii)A 32-bit value A9 FE B2 3D H,starting from the address 1000
H,needs to be converted from little-endian format to big-endian format for
a 16-bit system.So what is the value now?(+1/-1)
a)3D B2 FE A9 H
b)9A EF 2B D3 H
c)FE A9 3D B2 H
d)D3 2B EF 9A H
4)Address bus and Data bus are uni-directional or bi-directional? Give
reasons why?(2)
5)Is it possible for the 2 commands below to perform exactly the same
operation on a processor? If so, how?(1)
MOV BX,SP
MOV SP,BX
6)What is the advantage of the method that is used in calculating the
physical
address in case of 8086?Calculate the physical address
give CS=3480H and IP=4214H(2)
7) Which are the 2 main units in the internal structure of 8086?(1)
8)Explain a feature that is present in 8086 and not in 8085 that has
significantly increased the speed of execution(2-3 lines are enough)(2)
9)
ADD AH,AL
SHL BL
ADD BH,BL
AND BH,BL
ADD AL,01H
SUB AH,BH