Professional Documents
Culture Documents
EC2304 - MICROPROCESSORS AND MICROCONTROLLERS Two Marks With Answers - Vidyarthiplus (V+) Blog - A Blog For Students
EC2304 - MICROPROCESSORS AND MICROCONTROLLERS Two Marks With Answers - Vidyarthiplus (V+) Blog - A Blog For Students
EC2304 - MICROPROCESSORS AND MICROCONTROLLERS Two Marks With Answers - Vidyarthiplus (V+) Blog - A Blog For Students
Subscribe
EC2304 – MICROPROCESSORS AND MICROCONTROLLERS Two
Marks With Answers
Anna University, Chennai Recommend on Google
Popular Posts
INTRODUCTION TO 8 BIT AND 16 BIT MICROPROCESSORS – H/W ARCHITECTURE ME 1401 - FINITE ELEMENT
ANALYSIS Two Marks Questions
1. What is Microprocessor ? With Answers 2014
VII Semester Mechanical Engineering M
Part A E 1401 - FINITE ELEMENT ANALYSIS
Short Q & A 1) What is meant by nite
It is a program controlled semiconductor device (IC}, which fetches, decode and executes element analysis? Fin...
instructions.
Anna University - af liated colleges
April / May 2012 Examination
Timetable for Chennai , Trichy ,
Combaitore , Madurai , Tirunelveli
Anna University - af liated colleges April
/ May 2012 (Revised) Examination
Timetable for Chennai , Trichy ,
Combaitore , Madurai , ...
2. What are the basic units of a microprocessor ? Anna University UG/PG 1st 3rd 5th 7th
Semester Results Anna Uni...
The basic units or blocks of a microprocessor are ALU, an array of registers and control Anna University Study
unit. Materials for All
Departments
3. What is Software and Hardware?
Anna University Af liated
Colleges Study Materials With the
The Software is a set of instructions or commands needed for performing a speci c task support of staff's and members of "
by a programmable device or a computing machine. The Hardware refers to the Vidyarthiplus.com ...
components or devices used to form computing machine in which the software can be
run and tested.
Blog Archive
Without software the Hardware is an idle machine. ► 2021 (5)
► 2020 (7)
4. What is assembly language? ► 2019 (29)
► 2018 (98)
The language in which the mnemonics (short -hand form of instructions) are used to
► 2017 (256)
write a program is called assembly language. The manufacturers of microprocessor give
► 2016 (359)
the mnemonics.
► 2015 (226)
5. What are machine language and assembly language programs? ▼ 2014 (338)
► December (32)
The software developed using 1's and 0's are called machine language, programs. The ► November (54)
software developed using mnemonics are called assembly language programs. ► October (32)
► September (83)
6. What is the drawback in machine language and assembly language, programs?
► August (40)
▼ July (81)
The machine language and assembly language programs are machine dependent. The
programs developed using these languages for a particular machine cannot be directly CS1401 INTERNET COMPUTING
CS55- PROGRAMMING
7. De ne bit, byte and word. PARADIGMS Questions Bank
2014
A digit of the binary number or code is called bit. Also, the bit is the fundamental storage CS2304-SYSTEM SOFTWARE Two
unit of computer memory. The 8-bit (8-digit) binary number or code is called byte and Marks Questions With An...
16-bit CS55- PROGRAMMING
PARADIGMS Questions Bank
binary number or code is called word. (Some microprocessor manufactures refer the basic 2014
data size operated by the processor as word). CS55- PROGRAMMING
PARADIGMS Two Mark
8. What is a bus? Questions Wit...
CS2304-SYSTEM SOFTWARE Two
Bus is a group of conducting lines that carries data, address and control signals.
Marks Questions With An...
CS2304-SYSTEM SOFTWARE
9. Why data bus is bi-directional?
Questions Bank 2014
CS2303 THEORY OF
The address is an identi cation number used by the microprocessor to COMPUTATION Two Mark
Questions Wi...
identify or access a memory location or I / O device. It is an output signal from the CS2302 -COMPUTER NETWORKS
processor. Hence the address bus is unidirectional. Two Mark Questions With ...
CS2302 -COMPUTER NETWORKS
11. What is the function of microprocessor in a system? Questions Bank 2014
MA2265 DISCRETE
The microprocessor is the master in the system, which controls all the activity of the MATHEMATICS Part B Unit 5
system. It issues address and control signals and fetches the instruction and data from Question...
memory. Then it executes the instruction to take appropriate action.
CS2302 -COMPUTER NETWORKS
Two Mark Questions With ...
12. Why interfacing is needed for 1/0 devices?
MA2265 Discrete Mathematics Two
Mark Questions Wit...
Generally I/O devices are slow devices. Therefore the speed of I/O devices does not match
CS2301 Software Engineering
with the speed of microprocessor. And so an interface is provided between system bus
Questions Bank 2014
and I/O devices.
CS2301 –SOFTWARE
ENGINEERING (SE) Two Mark
13. What is the difference between CPU bus and system bus?
Questio...
The CPU bus has multiplexed lines but the system bus has separate lines for each signal. GE 2021-Environmental Science
(The multiplexed CPU lines are demultiplexed by the CPU interface circuit to form and Engineering Two ...
3. Explain the External memory addressing in 8086 ENGINEERING Two Mark Qu...
EC2021-Medical Electronics Two
4. Discuss the Interrupt types of 8086 micro processor Marks Questions Wit...
EC 1403 SATELLITE
5. Explain the 8086 interrupt types in detail COMMUNICATION Questions
Bank 2014
6. What are the peripheral I/O instructions write its syntax and explain the same with EC 1403 SATELLITE
the timing diagram COMMUNICATION Questions
Bank 2014
EC 1403 SATELLITE
UNIT II COMMUNICATION Two Marks
Question...
16 BIT MICROPROCESSOR INSTRUCTION SET AND ASSEMBLY LANGUAGE
EC 1403 Microwave Engineering 16
PROGRAMMING
Marks Questions W...
EC 1403 MICROWAVE
1. De ne mnemonics.
ENGINEERING Two Marks
Questions ...
Part A
Optical Communication and
Networks Question Bank 2014
The short-hand form of describing the instructions are called mnemonics. The
mnemonics are given by the manufacturers of microprocessors and programmable Embedded Systems Two Marks
2. What is processor cycle (Machine cycle) ,Instruction cycle, fetch and execute cycle? Networks Two Marks Quest...
EC2304 – MICROPROCESSORS
The processor cycle or machine cycle is the basic operation performed by the processor. AND MICROCONTROLLERS Two
To execute an instruction, the processor will run one or more machine cycles in a ...
particular order. The sequence of operations that a processor has to carry out while EC2304 – MICROPROCESSORS
executing the instruction is called Instruction cycle. Each instruction cycle of a processor AND MICROCONTROLLERS Two
in tum consists of a number of machine cycles. In general, the instruction cycle of an ...
instruction can be divided into fetch and execute cycles. The fetch cycle is executed to Environmental science and
fetch the opcode from memory. The execute cycle is executed to decode the instruction engineering Two Marks Wi...
and to perform the work instructed by the instruction.
Environmental science and
engineering Questions Bank
3. What is the need for timing diagram?
EC 2305 Transmission Lines and
Wave guides With Qu...
The timing diagram provides information regarding the status of various signals, when a
Anna University May June 2014
machine cycle is executed. The knowledge of timing
Exam Results Published
diagram is essential for system designer to select matched peripheral devices like EC2302 DIGITAL SIGNAL
EC2205-ELECTRONIC CIRCUITS-I
The T-state is the time period of the internal clock signal of the processor. The time Question Bank
taken by the processor to execute the machine cycle is expressed in T-state. EC2205 ELECTRONIC CIRCUITS
Two Marks With Answers
5. De ne opcode and operand. CS2252 Microprocessor And
Microcontrollers All Uni...
Opcode (Operation code) is the part of an instruction / directive that identi es a speci c
EC2203 Digital Electronics Two
operation.
Marks With Answers
taken by the processor to read or write a memory location. During read operation it is the Bank
time between a valid address on the bus and end of read control signal. During write CE2204 - Surveying– I Two Mark
operation it is the time between a valid address on the bus and the end of write control With Answers 2nd Ed...
signal. Data Mining and Warehousing
Question Bank - All Units
7. Compare the memory mapped I/0 and standard I/0 mapped I/0. 13ESX03 Wireless And Mobile
Communication Question...
Memory Mapped 1/0 Standard 1/0 mapped 1/0
Engineering Economics &
Financial Accounting Quest...
1. 16-bit address is allotted to 1. 8 -bit address is allotted to an I/O
CE2204 - Surveying– I Two Mark
with Answers
an I/O device device.
CE2201 - Mechanics of Solids Two
Mark with Answers
2. The devices are accessed by 2. The devices are accessed by I/O read or
AG2211 - Applied Geology Unit 5
Question Bank
I/O write cycle. memory read or memory write cycle.
AG2211 Applied Geology - 4th Unit
3. All instructions related to 3. Only IN and OUT instructions memory can be used for Question Bank (P...
can be used for data transfer data transfer. AG2211 Applied Geology Unit 3
Question Bank (Part ...
4 . A large number of I/O ports 4. Only 256 ports can be interfaced. can be interfaced. GE6151 Computer Programming
PROGRAM’S USING STRUCTURE
8. What is an Interrupt ? Haw the interrupt are classi ed ? GE6151 Computer Programming
UNIT V STRUCTURES AND ...
Interrupt is a signal send by an external device to the processor so as to request the AG2211 Applied Geology Unit 2
processor to perform a particular task or work. They are three methods of classifying Question Bank
interrupts
AG2211 Applied Geology Unit 1
Question Bank
Method I :The interrupts are classi ed into Hardware and Software interrupts
GE6151 Computer Programming
POINTERS
Method II:The interrupts are classi ed into vectored and Non- Vectored interrupt
GE6151 Computer Programming
4.3 Recursion in C:
9. What is Vectored and Non- Vectored interrupt?
GE6151 Computer Programming
When an interrupt is accepted, if the processor control branches to a speci c address 4.2 Parameter Passing...
de ned by the manufacturer then the interrupt is called vectored interrupt. GE6151 Computer Programming
UNIT IV FUNCTIONS AND ...
In Non-vectored interrupt there is no speci c address for storing the interrupt service GE6151 Computer Programming
routine. Hence the interrupted device should give the address of the interrupt service SWITCH CASE:
routine. GE6151 Computer Programming
BRANCHING AND LOOPING
10.What is Polling ? What are the different types of Polling? GE6151 Computer Programming
DECISION MAKING
Polling is a scheme or an algorithm to identify the devices interrupting the
GE6151 Computer Programming
THE CONDITIONAL EXPRES...
processor. Polling is employed when multiple devices interrupt the processor through
GE6151 Computer Programming
one interrupt pin of the
HEADER FILES
The 8086 does not have on-chip clock generation circuit. Hence the clock generator chip,
8284 is connected to the CLK pin of8086. The clock signal supplied by 8284 is divided by
three for internal use. The maximum internal clock frequency of8086 is 5MHz.
and the execution time of functional units are overlapped. Each functional unit works
independently most of the time.
The bus interface unit and execution unit are the two functional units available in 8086
architecture.
The segment registers of 8086 are Code segment, Data segment, Stack segment and Extra
segment registers.
16. What is the difference between segment register and general purpose register?
The segment registers are used to store 16 bit segment base address of the four memory
segments. The general purpose registers are used as the source or destination register
during data transfer and computation, as pointers to memory and as counters.
A data structure which can be accessed on the basis of fIrst in fIrst out is called queue.
The 8086 has six numbers of 8-bit FIFO registers, which is used for instruction queue.
18. Write the special functions carried by the general purpose registers of
8086.
The special functions carried by the registers of 8086 are the following. Register Special
function
CX Count Register
DX .Data Register
The ags TF, IF and DF of8086 are used to control the processor operation and so they
are called control bits.
36. Describe the difference between the instructions MOV AX,2437H and
MOV AX,[2437H].
Difference between the instructions MOV AX,2437H and MOV AX,[2437H] are former
instruction takes 2437 as 16-bit data and latter instruction takes 2437 as 16-bit address.
Direction ag is used with string instructions. If DF= 0, the string is processed from its
beginning with the rst element having the lowest
address. Otherwise, the string is processed from the high address towards the low
address.
22. In 8086 processor the code segment contains 4000H and instruction pointer contains
9F20H. Find the memory location addressed by the processor. Segment address 4000 0 1
00000000000000
01001001111100100000
23. Mention the three operating modes of Intel 80386 processor. i. Real Mode.
a. When over ow of sum occurs during addition of signed numbers, over ow ag is set to
one (OVF =1).
PART – B
8. Explain the data Transfer group and logical group of 8086 instructions
UNIT III
The interrupt controller is employed to expand the interrupt inputs. It can handle the
interrupt request from various devices and allow one by one to the processor.
Controller )
ii) The interrupt vector addresses are programmable. iii) The priorities of interrupts are
programmable.
The various functional blocks of 8259 are Control logic, Read/ Write logic, Data bus
buffer, IRR, ISR,IMR, Priority resolver and cascade buffer
When 8259's are connected in cascade, one 8259 will be directly interrupting 8085 and it
is called master 8259, To each interrupt request input of master 8259, one slave 8259 can
be
connected, The 8259 's interrupting the master 8259 are called slave 8259.
7. What is handshake port ? Explain the working of a handshake input port and output
port.
In handshake port, signals are exchanged between I/O device and port or port and
processor for checking or informing various condition of the device.In handshake input
operation, the input device will check whether the port is empty or not. If the port is
empty then it will load data to port. When the port receives the data, it will inform the
processor for read operation. Once the data have been read by the processor, the port will
signal the input device that it is empty. Now the input device can load another data to
port and the above process is repeated.
In handshake output operation, the processor will load a data to port. When the port
receives the data, it will inform the output device to collect the data. Once the output
device accepts the data,the port will inform the processor that it is empty. Now the
processor can load another data to port and the above process is repeated.
The ports can be programmed for either input or output function in different operating
modes.
The port-A of 8255 can be programmed to work in anyone of the following operating
modes as input or output port.
Mode-0 : Simple 1/0 port. Mode-l: Handshake 1/0 port Mode-2 : Bidirectional 1/0 port
4. The individual pins of port-C can be set or reset for various control applications.
The different scan modes of8279 are decoded scan and encoded scan. In decoded scan
mode, the output of scan lines will be similar to a 2-to-4 decoder. In encoded scan mode,
the output of scan lines will be binary
count, and so an external decoder should be used to convert the binary count to decoded
output.
The baud rate is the.rate at which the serial data are transmitted. Baud rate
is de ned as l/(The time for a bit cell). In some systems one bit cell has one data bit, then
the baud rate and bits/sec are same.
13. What is USART ? What are the functions performed by INTEL 8251A? The device
which can be programmed to perform Synchronous or Asynchronous serial
communication is called USART (Universal Synchronous Asynchronous Receiver
Transmitter). The INTEL 8251A is an example of USART.
The INTEL 825lA is used for converting parallel data to serial or vice versa. The data
transmission or reception can be either asynchronously or synchronously. The 8251A can
be used to interface MODEM and establish serial communication through MODEM over
telephone lines.
14. What are the control words of 8251A and what are its functions ? The control words
of 8251A are Mode word and Command word. The mode word informs 8251 about the
baud rate, character length, parity and stop bits. The command word can be send to
enable the data transmission and reception.
When a key is, pressed it bounces for a short time. If a key code is
generated immediately after sensing a key actuation, then the processor will generate
the same keycode a number of times.(A key typically bounces for
10 to 20 msec). Hence the processor has to wait for the key bounces to
settle before reading the keycode. This process is called keyboard debouncing.
16. What is the difference in programming the 8279 for encoded scan and decoded scan?
If the 8279 is programmed for decoded scan then the output of scan lines will be decoded
output and if it is programmed for, encoded scan then the output of scan lines will be
binary count. In encoded mode, an external decoder should be used to decode the scan
lines.
The different types of ADC are successive approximation ADC, counter type ADC ash
type ADC, integrator converters and voltage-to-frequency converters.
Direct Memory Access is an I/O technique used for high speed data transfer. In DMA, the
MPU releases the control of the buses to a device called a DMA controller. The controller
manages data transfer between memory and a peripheral under its control, thus
bypassing the MPU.
PART - B
20. Draw the block diagram of 8279 and explain the function of each block.
24. Explain the working of Mode 3 operation of timer with a suitable timing diagram
26. With the help of block diagram explain the operation of USART
UNIT IV
PART-A
A device which contains the microprocessor with integrated peripherals like memory,
serial ports, parallel ports, timer/counter, interrupt controller, data
Decrement the content of the register Rn and jump if not zero. b. DJNZ direct , rel
Decrement the content of direct 8-bit address and jump if not zero.
3. Explain the contents of the accumulator after the execution ot the following program
segments:
A 3C R4 66
A 24
4. State the function of RS1 and RS0 bits in the ag register of intel 8051
microcontroller?
Selection
0 Bank 0
1 Bank 1
0 Bank 2
0 Bank 3
5. Write a program using 8051 assembly language to change the date 55H stored in the
lower byte of the data pointer register to AAH using rotate instruction.
RL A
6. Give the alternate functions for the port pins of port3? RD WR T1 T0 INT1 INT0 TXD
RXD
T1 – Timer / Counter1 external input or test pin. T0 – Timer / Counter0 external input or
test pin. INT1- Interrupt 1 input pin.
TXD – Transmit data pin for serial port in UART mode. RXD - Receive data pin for serial
port in UART mode.
7. Specify the single instruction, which clears the most signi cant bit of B
PSEN stands for program store enable. In 8051 based system in which an external ROM
holds the program code, this pin is connected to the OE pin of the ROM.
EA : EA stands for external access. When the EA pin is connected to Vcc, program fetched
to addresses 0000H through 0FFFH are directed to the internal ROM and program fetches
to
addresses 1000H through FFFFH are directed to external ROM/EPROM. When the EA pin
is grounded, all addresses fetched by program are directed to the external ROM/EPROM.
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
register or as
two independent 8-bit registers. It serves as a base register in indirect jumps, lookup
table instructions and external data transfer.
incremented before data is stored during PUSH and CALL instructions. The stack array
can reside anywhere in on-chip RAM. The stack pointer is initialized to 07H after a reset.
This causes the stack to begin at location
08H.
b. B Register
PART-B
8. Draw and explain the functions of bits in TMOD and TCON registers of
8051
UNIT V
PART-A
1. Write down the different operating modes for serial communication of 8051. Serial
communication of 8051 operate under four modes. They are mode 0 , mode 1, mode 2 and
mode3 .SM0 and SM1 bits of SCON register speci es the mode.
1 0 2 8-bit data, 9th programmable bit,1 stop bit, 1 start bit, Baud rate xed.
1 1 3 8-bit data, 9th programmable bit,1 stop bit, 1 start bit, Baud rate variable.
2. Explain the register IE format of 8051. EA - ET2 ES ET1 EX1 ET0 EX0
ET2- Timer 2 interrupt enable bit. ES – Enable serial port control bit. ET1 – Enable
Timer1 control bit.
EX1- Enable external interrupt1 control bit. ET0 – Enable Timer0 control bit.
It has one or two instructions to move data between memory and CPU.
3 It has one or two bit handling instructions. It has many bit handling instructions.
4 Access times for memory and I/O devices are more. Less access times for built-in
memory and I/O devices.
Microcontroller based system requires less hardware reducing PCB size and increasing
the reliability.
Vector address
· Serial Interrupt
5. Write a program to load accumulator A, DPH and DPL with 30H. MOV A,#30
MOV PSW,#10
MOV A,R0
MOV PSW,#00
SUBB A,R1
The RS-232C signal voltage levels are not compatible with TTL logic levels. Hence for
interfacing TTL devices to RS-232C serial bus, level converters are used. The popularly
used
b. The 8096 is designed to use in applications which require high speed calculations and
fast I/O operations.
c. The high speed I/O section of an 8096 includes a 16 bit timer, a 16 bit counter, a 4
input programmable edge detector, 4 software timers and a 6- output programmable
event generator.
e. The bit operations are possible and these can be performed on any bit in the register
le or in the special function register.
HS0: The High Speed Output unit (HS0) is used to trigger events at speci c times with
minimal CUP overhead. These events include : starting an A to D conversion, resetting
Timer2, setting 4 software ags, and switching up to 6 output lines.
In this mode serial enters &exits through RXD, TXD outputs the shift clock.8 bits are
transmitted/received:8 data bits(LSB rst).The baud rate is xed at
In this mode 11 bits are transmitted(through TXD)or received (through RXD):a start
bit(0), 8 data bits(LSB rst),a programmable 9th data bit ,& a stop bit(1).ON transmit the
9th data bit (TB* in SCON)can be assigned the value of 0 or 1.Or for eg:, the parity bit(P,
in the PSW)could be moved into TB8.On receive the 9th d ata bit go in to the RB8 in
Special Function Register SCON, while the stop bit is ignored. The baud rate is
programmable to either
MOV B,#data 2
MUL AB
MOV DPTR,#5000
MOV A,B
MOVX @ DPTR,A
14. Write a program to mask the 0th &7th bit using 8051? MOV A,#data
ANL A,#81
MOV DPTR,#4500
*LCALL(Long CALL)
*ACALL(Absolute CALL)
Each increments the PC to the 1st byte of the instruction & pushes them in to the stack.
LJMP(Long jump)-address 16
AJMP(Absolute Jump)-address 11
No comments:
Post a Comment
COPYRIGHT © 2021 VIDYARTHIPLUS (V+) BLOG - A BLOG FOR STUDENTS | POWERED BY BLOGGER