0% found this document useful (0 votes)
74 views

Velalar College of Engineering and Technology Department of Eee Ee2354-Microprocessor and Micocontroller Stop & Ask Questions

The document discusses various topics related to microprocessors and microcontrollers including pipelining, machine cycles of 8085, wait states, instruction cycle, stack and stack related instructions, synchronous data transfer, operation modes of 8259A and 8255, registers of 8051 like DPTR and SP, special function registers of 8051, features of 8051, scanning in displays, operating mode 0 of 8051 serial ports, and jump statements.

Uploaded by

gokulchandru
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
74 views

Velalar College of Engineering and Technology Department of Eee Ee2354-Microprocessor and Micocontroller Stop & Ask Questions

The document discusses various topics related to microprocessors and microcontrollers including pipelining, machine cycles of 8085, wait states, instruction cycle, stack and stack related instructions, synchronous data transfer, operation modes of 8259A and 8255, registers of 8051 like DPTR and SP, special function registers of 8051, features of 8051, scanning in displays, operating mode 0 of 8051 serial ports, and jump statements.

Uploaded by

gokulchandru
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 4

VELALAR COLLEGE OF ENGINEERING AND TECHNOLOGY

DEPARTMENT OF EEE
EE2354-MICROPROCESSOR AND MICOCONTROLLER
STOP & ASK QUESTIONS

1. Define pipelining
In 8086, to speedup the execution of program, the instructions fetching
and execution of
instructions are overlapped each other. This technique is known as pipelining.
In pipelining,
when then the instruction is executed, the n+1 the instruction is fetched and
thus the processing
speed is increased.

2. How many machine cycles does 8085 have, mention them


1.
3.
5.
7.

The 8085 have seven machine cycles they are


Opcode fetch 2. Memory read
Memory write 4. I/O read
I/O write
6. Interrupt acknowledge
Bus idle

3.Define wait state.


This state is used by slow peripheral devices. the peripheral devices can
transfer the data
to or from the microprocessor by using READY input line.the microprocessor
remains in the
wait state as long as READY line is low. during the wait state, the contents of
the address,
address/data and control buses are held constant.

4. Define instruction cycle,machine cycle and T-state


Instruction cycle is defined as the time required completing the
execution of an
instruction.
Machine cycle is defined as the time required completing one operation
of accessing memory,I/O or acknowledging an external request.T cycle is
defined as one subdivision of the operation performed in one clock period.
5. Explain the difference between a JMP instruction and CALL
instruction.

A JMP instruction permanently changes the program counter. A CALL


instruction
leaves information on the stack so that the original program execution
sequence can be resumed.

6. Define stack and stack related instructions.


The stack is a group of memory locations in the R/W memory that is
used for the
temporary storage of binary information during the execution of the
program.the stack related
instructions are PUSH and POP
7.Define recursive procedures
A recursive procedure is a procedure,which calls itself.recursive
procedures are used to
work with complex data structures called trees.if the procedure is called with
N=3,then the N is
decremented by 1 after each procedure CALL and the procedure is called
until N=0.

8.Define synchronous data transfer


It is a data method which is used when the I/O device and the
microprocessor match in
speed. The transfer a data to or from the device, the user program issues a
suitable instruction
addressing the device. The data transfer is completed at the end of the
execution of this
instruction.

9. Give the operation modes of 8259A


(a) Fully Nest Mode
(b) End of Interrupt
(c) Automatic Rotation
(d) Automatic EOI mode
(e) Specific Rotation
(f) Special Mask Mode
(g) Edge and level Triggered Mode
(h) Reading 8259 Status
(i) Poll command
(j) Special Fully Nested Mode
(k) Buffered Mode
(l) Cascade Mode

10. List the operation modes of 8255


a) I/O Mode
i. Mode 0- Simple Input/Output.
ii. Mode 1- Strobe Input/Output (handshake mode)
iii. Mode 2- Strobe bi-directional mode
b) Bit Set/Reset Mode.

11. Explain the 16-bit registers DPTR and SP of 8051.


DPTR:
DPTR stands for data pointer. DPTR consists of a high byte (DPH) and a
low byte (DPL).
Its function is to hold a 16-bit address. It may be manipulated as a 16- bit
data registers. It serves
as a base register in indirect jumps, lookup table instructions and external
data transfer.
SP:
SP stands for stack pointer. SP is a 8-bit wide register. It is incremented
before data is stored during PUSH and CALL instructions. The stack array can
reside anywhere in-chip RAM. The stack pointer is initiailsed to 07H after a
reset. This causes the stack to begin at location. 08H.
12. Name the special functions registers available in 8051.
Accumulator B Register
Program status Word.
Stack pointer. Data pointer
Port 0 Port 1 Port 2 Port 3
Interrupt priority control register.
Interrupt enable control register.

13. List the features of 8051 microcontroller?


The features are
Single supply +5 volt operation using HMOS technology.
4096 bytes program memory on chip (not on 8031)
128 data register banks
Four register mode, 16-bit timer/ counter.
Extensive Boolean processing capabilities.
64 KB external RAM size
32 bi-directional individually addressable I/O lines.
8 bit CPU optimized for control applications.

14.What is scanning in display and what is the scan time?


In display devices the process of sending display codes to 7segment LEDS to display the leds one by one is called scanning. The
scan time is the time taken to display all the 7-segment LEDS one by
one, starting from first LED and coming back to the first LED again.
15.Explain the operating mode0 of 8051 serial ports?
In this mode serial enters & exits through RXD,TXD output the shift
clock 8 bits are
transmitted or received 8 data bits(LSB first).the baud rate is fixed at 1/12
the oscillator
frequency.

16.Explain the jump statement.


There are three forms of jump.they are
LJMP(Long-jump)-address 16
AJMP(Absolute jump)-address 11
SJMP(short jump)-relative address

You might also like