QB 2024

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 5

1.What are pointers and index registers?

IP, BP and SP are the pointers and contain offsets within the code, data and stack
segments respectively. SI and DI are the index registers, which are used as general
purpose registers and also for offset storage in case of indexed, based indexed and
relative based indexed addressing modes.

2.Discuss the role of segment registers.

The segment register is used to hold base address(starting address) of the respective segments
Example : code segment register is used to store the base address of the code segment

3.What is linker?

A linker is a program used to join together several object files into one large
object file. For large programs it is more efficient to divide the large program modules
into smaller modules. Each module is individually written, tested & debugged. When all
the modules work they are linked together to form a large functioning program.

4.What is a subroutine program?

A subroutine is a group of instructions written separately from the main program


to perform a function that occurs repeatedly in the main program. Thus subroutines avoid
the repetition of same set of instructions in the main program.

5.What are the advantages of segmented memory?

The advantages of segmented memory are:

i. Allows the memory capacity to be 1Mbyte, although the actual addresses to be


handled are of 16- bit size.

ii. Allows the placing of code, data and stack portions of the same program in different
parts of memory for data and code protection.

iii. Permits a program and/or its data to be put into different areas of memory, each
times program is executed i.e., provision for relocation may be done.

6.What happens when a high is applied to RESET pin?

When a high is given to RESET pin, the processor terminates the current activity and starts executing
from FFFF0H. It must be active for at least four clock cycles. It is internally synchronized

7.How is the physical address calculated? Give an example.

The physical address, which is 20-bits long is calculated using the segment and
offset egisters, each 16-bits long. The segment address is shifted left bit-wise four times
and offset address is added to this to produce a 20 bit physical address.

8.Compare closely coupled and loosely coupled configuration.

9.Compare memory mapped I/O and I/O mapped I/O.

10.Write the control word format for BSR mode.

● BSR mode is used to set / reset individual bits in Port C, using software
instructions and control word.

BSR Control Word affects one bit in port C at a time

11.What is meant by handshaking?

In Mode-1, 8255 uses handshaking signals like IBF, STB (strobe), OBF, ACK to
send or receive a data in order to improve reliability of data transfer. The handshaking
signals are provided by Port C of 8255, when Port-A and Port-B act as I/O port in
Mode-1.

12.What is N key roll over?

In N-key rollover each key depression is treated independently from all others. When a key is
depressed, the denounce logic is set and 8279 checks for key depress during next two scans.

13.Mention the features of 8051 microcontroller.


● Internal RAM of 128 bytes
● Internal ROM/EPPROM of 4KB
● Can interface memory of upto 64KB externally
● Two 16 bit timers-T0 & T1
● Serial Communication Interface
● 2 external & 3 internal interrupts

14.Why are A and B registers called math registers in 8051 microcontroller?


A’ register is accumulator and B is a register for supporting the A register for
Multiplication and Division instructions .During multiplication operation, the product
result is stored in A & B registers.. During division, the reminder and Quotient are
stored in A & B registers.

15.Give the purpose of ALE/PROG signal

ALE/PROG is an address latch enable output pulse and indicates that valid address bits available on
the respective pins. The ALE pulses are emitted at a rate of one-sixth of the oscillator frequency. The
signal is valid only for external memory accesses. DEPARTMENT OF ITII Year / IV Sem 29It may be
used for external timing or clockwise purpose. One ALE pulse is skipped during each access to
external data memory

16.Mention the purpose of PSEN and EA in 8051 microcontroller.

PSEN -Program store Enable- it is connected with OE pin of External ROM .Used to enable
the read operation
EA -External Access-
It is connected to +Vcc when code is stored and accessed from Internal ROM
It is connected to GND when code is stored and accessed from External ROM

17.How RAM is allocated in 8051 microcontroller?

First 32 bytes are allocated for 4 register bank, each bank consist of 8 registers.
Next 16 bytes are allocated for bit addressable area.
Last 80 bytes are allocated as general purpose area.
Why are A and B registers called math registers in 8051 microcontroller?

18.List out the alternative functions assigned to port 3 pins of 8051 microcontroller
19.What is the role of barrel shifter in ARM Processor?

20.List out the features of Raspberry pi processor.

21.List out the status flags is CPSR.

22.What is the role of booth multiplier?

Unit 1
1.With the help of block diagram explain the architecture of 8086 microprocessor.

2.Discuss the various addressing modes of8086.

3.Write an ALP in 8086 to add array of 5 numbers.


4.Discuss the instruction set of 8086 in detail.

Unit 2

1.Discuss the maximum mode configuration of 8086 with a neat


diagram.Mentionthe functions of various signals.

2.Define the bus cycle and minimum mode read and write bus cycles with
proper timing

3.With neat diagram explain about closely coupled configuration in 8086.


4.With a neat diagram, explain in detail about Coprocessor.

Unit 3

1.With diagram explain the Interfacing of Analog to Digital Converter with


8086 microprocessor.

2.Explain the functional block of 8279 keyboard/Display controller


3.Explain the functional block of 8251 Serial Communication Interface.
4.Draw the block diagram of 8255 PPI and explain the I/O modes of operation
with control word format.

Unit 4

1.With diagram explain the 8051 microcontroller architecture in detail

2.Explain the operation of 8051timer in detail


3.With diagram explain the interfacing of stepper motor with 8051 microcontroller.

Unit 5
1.With necessary diagram explain the architecture of ARM processor.
2.Explain the implementation of raspberry pi processor for industrial automation.
3.Explain the implementation of raspberry pi processor for industrial automation.

You might also like