You are on page 1of 13

2016

PIL ORAL QUESTION BANK

Prepared By ,
Harish,Mansi,Sayali,Pandurang,
Parth,Sanika,Chaitrali,Tejal
Sincere Thanks to , Dr. Anjali
Chandavale Maam and Prof. Shamla
Mantri Maam

1 st April,2016

Questions

Question Bank For PIL ORALS:


Basic Questions: Difficulty level (EASY)
1) What is Microprocessor?
2) What is Assembly?
3) What is Assembly Language?
4) What is Assembly Language Program?
5) What is Register?
6) What is Data segment Register?
7) What is Load Effective Address?
8) What is Model in the program?
9) What is Stack in the program?
10) What is DB in the program?
11) What is Dup (?) in the program?
12) What is @data in the program?
13) What is INT 03 in the program?
14) What is g in the output of the program?
15) What is d in the output of the program?
16) What is DW in the program?
17) What is DD in the program?
18) What is CX register in the program of the loops?

Questions

19) What is CLC in the program?


20) What is INC?
21) What is ADC?
22) What is SBB?
23) What is CMP?
24) What is JC?
25) What is XCHG?
26) What is DEC?
27) What is JNZ?
28) What is XOR?
29) What is the use of XOR?
30) What is RCR?
31) What is JNC?
32) What is IDIV?
33) What is RCL?
34) What is AAA?
35) What is AAS?
36) What is DAA?
37) What is DAS?
38) What is DEC?
39) What is CMPSB?
40) What is CMPS?

Questions

41) What is INT 21 in the program?


42) What is @data indicates in instruction- MOV ax, @data?
43) What is maximum size of the instruction in 8086 ?
44) Why we indicate FF as 0FF in program?
45) What is MUL BX and DIV BX? Where result goes?
46)What are ASCII codes for nos. 0 to F?
47) What is the difference between near and far procedure?
48) What is the difference between Macro and procedure?
49) What is the difference between instructions RET & IRET?
50) What is the difference between instructions MUL & IMUL?
51) What is the difference between instructions DIV & IDIV?
52) What is difference between shifts and rotate instructions?
53) What is the function of INT 01h of INT 21h?
54) What is the function of INT 02h of INT 21h?
55) What is the function of INT 09h of INT 21h?
56) What is the function of INT 0Ah of INT 21h?
57) What is the function of INT 4ch of INT 21h?
58) What is the reset address of 8086 ?
59) What is the size of flag register in8086 ? Explain all.
60) What is the difference between INT 08H and INT 01H functions of INT 21H?
61) How to Cross-Check ZERO Flag in 8051?
Hint: Use of DJNZ instruction

Questions

62) Name any 3 assembly Level languages?


Hint:
CISC: Complex Instruction-Set Computer
RISC: Reduced Instruction-Set Computer
DSP: Digital Signal Processor
VLIW: Very Long Instruction Word

Difficulty level(MEDIUM And HARD)

1) What is the Linear Addressing space in REAL mode?


2) Explain logic behind square wave generation given below using DAC.

+5v
0v

Hint: Here For 0 V =00h and For +5V=FF h.

3) What is analog equivalent of 00 H and FF h ?


Hint: 00 H=0 V and FF H=+5 V
4) What are different types of DAC?
Hint: Types

Questions

Binary Weighted Resistor


R-2R Ladder
Multiplier DAC
The reference voltage is constant and is set by the
manufacturer.
Non-Multiplier DAC
The reference voltage can be changed during operation.

5) Explain how .asm file is generated?


Hint:
.asm
.obj
.exe

By editor
By TASM assembler( It also generates .lst file)
By Tlink (It also generates .map file)

6)Explain IE,#82.
Hint: Refer Interrupt Enable Register Format
7)How to differentiate whether internal or external memory is being accessed by
8051 using Hardware Pins?
Hint: PSEN and EA

8) What does .map contains?


9) What does .lst contains?

10) In case of BCD to HEX ,How to accept 2 digit number?

Questions

Hint: By using 0A H function of INT 21H

11) Difference between .code and .data?

12) What is mentioned in .code and .data?

13) What is size of Page in 80386? Is size fixed? If yes,Explain.

14) Which of the following are valid instructions:MOV R0,41H


MOV A,@DPTR
MOVX A,@DPTR

15) What is by default size of stack?


16) Format of PSW.
17) Format of all SFRs.
18) Characteristics of DAC.
Hint:
Comprised of switches, op-amps, and resistors
Provides resistance inversely proportion to significance of bit

19) What is the difference between PUBLIC & EXTRN?

Questions

20)What is the difference between FAR & NEAR Procedure ?


21)What is the difference between 4ch & END ?
22)
str1 db 25H
db 0H
db 25H dup(0)
Explain this declaration .

Hint:
The DUP directive is used to initialize several Location and assign values
to these locations.

23) Which SFRs in 8051 are bit addressable.


24) What is the difference between CLD & STD ?
25) Explain the logic behind Generation of the following waveform:

+5V
+2.5
0V

Hint:

Questions

For 0 V = 00h and For 5V=FFh . So Find Corresponding Hex value of 2.5 V
Use CJNE and DJNZ instructions
Use of Delay appropriately

26) Explain the logic behind ASCII TO HEX conversion ?


Hint: Explain by Taking suitable example.

27) How many TIMERS are there in 8051?

28) Perform subtraction of 41 H and 37 H.

Hint:

Perform Hexadecimal subtraction using 15s or 16s complement


method.
Example Given Below:

Subtract B4A16 from C3916.


16 16
Borrowed
B 2
Remaining digit after borrowing
C 3 9
B 4 A
-----------------E F
-------------------

Questions

29)Explain about .MODEL SMALL?


Hint:
Describe Number of Segments used and MAX memory for each segment
.MODEL directive:-This simplified segment directive creates default
segments and the required ASSUME and GROUP statement.
Its format is .MODEL memory-model.
The following are the memory models
Tiny:-Code and data in one segment, for .COM programs.
Small:-Code in one segment (<=64K), data in one segment (<=64K). It
generates 16-bit offset addresses.
Medium:-Any number of code segments, data in one segment (<=64K).
Compact:-Code in one segment (<=64K), any number of data segments. It
generates 32-bit addresses, which require more time for execution.
Large:-Code and data both in any number of segments, no array >64K.
Huge:-Code and data both in any number of segments, arrays may be
>64K.
Flat:-Defines one area up to 4 gigabytes for both code and data. It is
unsegmented.The program uses 32-bit addressing and runs under
Windows in protected mode.

30) Difference between JMP and JNC?


Hint:

10

Questions

JUMP(Un-conditional Branch)
and JUMP IF NOT CARRY (Conditional Branch)
31) List the String Manipulation Commands?
Hint:
REP=Repeat.
MOVS=Move Byte/Word
CMPS=Compare Byte/Word
SCAS=Scan Byte/Word
LODS=Load byte/Wd to AL/AX
STOS=Store Byte/Wd from AL/A
32) Explain about Direction Flag?
Hint:
This is used by string manipulation instructions.
If this flag bit is 0 , the string is processed beginning from the
lowest to the highest address i.e., Auto-increment mode.
Otherwise, the string is processed from the highest towards the
lowest address i.e., Auto-decrement mode
33) In string operations which is by default string source pointer?
33) In string operations which is by default string destination pointer?
34) Explain the logic of calculation of the count value for the required delay in
TIMER PROGRAMMING
35) What is the difference between MOV, MOVC, MOVX instruction in 8051 Data
transfer?
Hint:

MOV : Internal to Internal Data transfer from RAM


MOVX: For External Data access from RAM

11

Questions

MOVC: For Both Internal/External Data access from ROM


36) What is the difference between REAL, PROTECTED, VIRTUAL 8086 MODE of
80386?
37) What are the MERITS and DEMERITS of using the ENTER KEY as termination
while entering a number in HEX to BCD CONVERSION.
38) Reset address of 8086, 80386, 8051?
39) List out some of the FEATURES of the 8051?
Hint:
ROM

RAM

Timer

I/O Pins
Serial Port
Interrupt sources

4K bytes
256 bytes(upper 128bytes for SFRs)
2 no
32
1
6

40) In Real mode to Protected Mode why do we Jump to FFFF0000H?


41) Difference between Instruction cycle and Machine cycle?
42) Difference between PUSH and POP in 80386 and 8051?

12

Questions

Note: Some Of The Viva Questions Of Microprocessor Are


Repeated So Many Times. But These Repeated Questions Are
Important

13

You might also like