Professional Documents
Culture Documents
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
Questions
Questions
Questions
+5v
0v
Questions
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
Questions
Questions
Hint:
The DUP directive is used to initialize several Location and assign values
to these locations.
+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
Hint:
Questions
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:
11
Questions
RAM
Timer
I/O Pins
Serial Port
Interrupt sources
4K bytes
256 bytes(upper 128bytes for SFRs)
2 no
32
1
6
12
Questions
13