Unit I SEMICONDUCTOR THEORY
Unit I SEMICONDUCTOR THEORY
1. Give What is microprocessor. the power supply & clock frequency of 8085
A microprocessor is a multipurpose, programmable logic device that reads binary
instructions from a storage device called memory, accepts
2. What is the signal classification of 8085
All the signals of 8085 can be classified into 6 groups
a. Address bus
b. Data bus
c. Control and status signals
d. Power supply and frequency signals
e. Externally initiated signals
f. Serial I/O ports
3. What are operations performed on data in 8085 The various operations performed are
a. Store 8-bit data
b. Perform arithmetic and logical operations
c. Test for conditions
d. Sequence the execution of instructions
e. Store data temporarily during execution in the defined R/W memory locations
called the stack
4. Steps involved to fetch a byte in 8085
The PC places the 16-bit memory address on the address bus
The control unit sends the control signal RD to enable the memory chip The byte from
the memory location is placed on the data bus
The byte is placed in the instruction decoder of the microprocessor and the task is
carried out according to the instruction
5. How many interrupts does 8085 have, mention them
The 8085 has 5 interrupt signals, they are INTR, RST7.5, RST6.5,
RST5.5 and TRAP
6. Basic concepts in memory interfacing
The primary function of memory interfacing is that the microprocessor should be able
to read from and write into a given register of a memory chip. To perform these
operations the microprocessor should
Be able to select the chip Identify the register
7. Enable the appropriate buffer
Define instruction cycle, machine cycle and T-state
8. Instruction cycle is defined as the time required to complete the execution of an
instruction. Machine cycle is defined as the time required to complete 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
9. What is an instruction
An instruction is a binary pattern entered through an input device to command the
microprocessor to perform that specific function
10. What is the use of ALE
The ALE is used to latch the lower order address so that it can be available in T2 and
T3 and used for identifying the memory address. During T1 the ALE goes high, the
latch is transparent ie, the output changes according to the input data, so the output of
the latch is the lower order address. When ALE goes low the lower order address is
latched until the next ALE.
11. How many machine cycles does 8085 have, mention them
The 8085 has seven machine cycles. They are
a. Opcode fetch
b. Memory read Memory write
c. I/O read I/O write
d. Interrupt acknowledge
e. Bus idle
12. Explain the signals HOLD, READY and SID
HOLD indicates that a peripheral such as DMA controller is requesting the use of
address bus, data bus and control bus. READY is used to delay the microprocessor read
or write cycles until a slow responding peripheral is ready to send or accept data. SID
is used to accept serial data bit by bit
13. Mention the categories of instruction and give two examples for each category
The instructions of 8085 can be categorized into the following five
a. Data transfer MOV Rd,Rs STA 16-bit
b. Arithmetic ADD R DCR M
c. Logical XRI 8-bit RAR
d. Branching JNZ CALL 16-bit
e. Machine control HLT NOP
14. Explain LDA, STA and DAA instructions
LDA copies the data byte into accumulator from the memory location specified by the
16-bit address. STA copies the data byte from the accumulator in the memory location
specified by 16-bit address. DAA changes the contents of the accumulator from binary
to 4-bit BCD digits.
15. Explain the different instruction formats with examples
The instruction set is grouped into the following formats
a. One byte instruction MOV C,A
b. Two byte instruction MVI A,39H
c. Three byte instruction JMP 2345H
16. What is the use of addressing modes , mention the different types
The various formats of specifying the operands are called addressing modes, it is used
To access the operands or data. The different types are as follows
a. Immediate addressing
b. Register addressing
c. Direct addressing
d. Indirect addressing Implicit addressing
17. Differentiate between absolute and linear select decoding?
Absolute decoding
All higher address lines are defined to select the memory or I/O device
Linear decoding
Few higher address lines are decoded to select the memory or I/O Device
18. What is the use of bi-directional
It is used to increase the driving capacity of the data bus. The data bus of a
microcomputer system is bi-directional, so it requires a buffer that allows the data to
flow in both directions.
19. Give the resister organization of 8085
B,C,D,E,
H,L,Z,W
20. Define stack and explain stack related instructions
The stack is a group of memory locations in the R/W memory that is used for the
emporary storage of binary information during the execution of the program. The
stack related instructions are PUSH & POP
21. Why do we use XRA A instruction
The XRA A instruction is used to clear the contents of the Accumulator and store the
value 00H.
22. Define PSW
The PSW or flags are used to reflect the data conditions in the accumulator. The 8085
flags are S-Sign flag, Z-Zero flag, AC-Auxillary carry flag, P-Parity flag, CY-Carry flag.
23. What is Microcontroller and Microcomputer
Microcontroller is a device that includes microprocessor, memory and I/O signal lines
On a single chip, fabricated using VLSI technology. Microcomputer is a computer that Is
designed using microprocessor as its CPU. It includes microprocessor, memory and
I/O.
Unit V INTERFACING APPLICATIONS
1. Give few applications of 8085 microprocessor.
i. Used to measure and control temperature. b) Used to control stepper
motor. c) Used to control traffic light system d) Used to control speed of
DC motor.
2. List the advantages of microprocessor based system design.
a. It simplifies systemdesign.
b. It reduces size and cost c) It is flexible in operation
3. What is a Buffer?
It is storage device. It can store a bit. It has one input and output.
4. What is a tristate buffer?
It is a buffer, which has one input line, one output line and an enable line. When enable
line is low it acts as a buffer, otherwise it acts as a high impedance state.
5. What is meant by memory address space?
Memory address space is the maximum possible memory size which can be used in a
microprocessor.
If an information flows from memory to microprocessor, which signal is used by it?
RD
6. What is the use CS pin of a memory chip?
A chip select is used to enable the memory chip.
If the starting address of 6K memory is 0D00, then ending address will be 24FF H
If an information flows to memory, which signal is used by it? WR
7. What is memory mapping?
The assignment of memory addresses to various registers in a memory chip is called
memory mapping.
8. What is I/O mapping?
The assignment of addresses to various I/O devices in a memory chip is called I/O
mapping.
9. What is memory mapped I/O?
The microprocessor assigns 19 bit address to I/O device. The memory map is shared
between memory and I/O.
10. What is I/O mapped I/O?
The I/O devices have separate addresses. The microprocessor assigns 8 bit address to
I/O devices.
11. Mention the advantages of memory mapped I/O.
Arithmetic or logical operations can be directly performed directly with I/O data.
12. Mention the advantages of I/O mapped I/O.
Whole address space is available for memory device and less hardware is required.
13. Mention the disadvantages of I/O mapped I/O.
Arithmetic and logical operation cannot be directly used with I/O data.
14. What is the use of ALE signal?
It is used to demultiplex address and data bus.
It is used to differentiate memory and IO operations. When 1 means IO operation, 0
means memory operation.
15. Nine the two classifications of stepper motor.
Permanent magnet type and variable reluctant type. 20. List the applications of stepper
motor. Used in printers, robot alarms, X-Y plotter.