Unit 5
Unit 5
Unit 5
1. Features of 8051microprocessor?
8 bit controller operating on bit and byte.
256 bytes internal RAM and 4 kb internaj RPM
64/60 kb external program memory address space
64 kb external data memory address space
4 numbers of 8 bit parallel port.
B7 B6 B5 B4 B3 B2 B1 B0
CY AC F0 RS1 RS0 OF - P
The 8051 LIFO .Stack can reside any where in the internal RAM
it has 8 bit stack pointer to indicate the top if stack.thics can be accessed by
PUSH and POP instructions.
During PUSH the SP is incremented by 1 and during POP the SP is
decremented by 1.
15. How the baud rate is decided in mode1 and mode3 os serial transmission of 8051?
The baud rate depends on SMOD bit of PCON reg abd the yimer-1
overflow rate shown below.
The baud rate in mode 1 or 3= 2 / 32 (timer – 1 overflow rate).
16. How to estimate the time taken to execute the instruction in 8031/8051 controller?
It is obtained by multiplying the time to execute machine cycle
by the number of machine cycles of the instruction.The time to
execute a machine time is 12 clock periods.
Time to execute an instruction=C 12 T=C 12 1/F.
3
The Boolean variable instructions can carry or complement or move a particular
bit of
11. Give the two methods for interfacing IO device? (Nov 2007)
1. Input/Output Mapped I/O.
2. Memory Mapped I/O.
4
MOV bytePTR[SI],OFF H
CALL Delay
JMP AI