• What Are The Various Registers In 8085?

    Accumulator register, Temporary register, Instruction register, Stack Pointer, Program Counter are the various registers in 8085.

  • What Are The Various Flags Used In 8085?

    Sign flag, Zero flag, Auxillary flag, Parity flag, Carry flag.

  • What Is Stack Pointer?

    Stack pointer is a special purpose 16-bit register in the Microprocessor, which holds the address of the top of the stack.

  • What Is Program Counter?

    Program counter holds the address of either the first byte of the next instruction to be fetched for execution or the address of the next byte of a multi byte instruction, which has not been completely fetched.

    In both the cases it gets incremented automatically one by one as the instruction bytes get fetched. Also Program register keeps the address of the next instruction.

  • Which Stack Is Used In 8085?

    LIFO (Last In First Out) stack is used in 8085.In this type of Stack the last stored information can be retrieved first.

  • What Happens When Hlt Instruction Is Executed In Processor?

    The Micro Processor enters into Halt-State and the buses are tri-stated.

  • What Is Meant By A Bus?

    A bus is a group of conducting lines that carriers data, address, & control signals.

  • What Is Tri-state Logic?

    Three Logic Levels are used and they are High, Low, High impedance state. The high and low are normal logic levels & high impedance state is electrical open circuit conditions. Tri-state logic has a third line called enable line.

  • Give An Example Of One Address Microprocessor?

    8085 is a one address microprocessor.

  • In What Way Interrupts Are Classified In 8085?

    In 8085 the interrupts are classified as Hardware and Software interrupts.

  • What Are Hardware Interrupts?

    TRAP, RST7.5, RST6.5, RST5.5, INTR.

  • What Are Software Interrupts?

    RST0, RST1, RST2, RST3, RST4, RST5, RST6, RST7.

  • Which Interrupt Has The Highest Priority?

    TRAP has the highest priority.

  • Name 5 Different Addressing Modes?

    Immediate, Direct, Register, Register indirect, Implied addressing modes.

  • How Many Interrupts Are There In 8085?

    There are 12 interrupts in 8085.

  • In 8085 Which Is Called As High Order / Low Order Register?

    Flag is called as Low order register & Accumulator is called as High order Register.

  • What Are Input & Output Devices?

    Keyboards, Floppy disk are the examples of input devices. Printer, LED / LCD display, CRT Monitor are the examples of output devices.

  • Can An Rc Circuit Be Used As Clock Source For 8085?

    Yes, it can be used, if an accurate clock frequency is not required. Also, the component cost is low compared to LC or Crystal.

  • Why Crystal Is A Preferred Clock Source?

    Because of high stability, large Q (Quality Factor) & the frequency that doesn’t drift with aging. Crystal is used as a clock source most of the times.

  • What Does Quality Factor Mean?

    The Quality factor is also defined, as Q. So it is a number, which reflects the lossness of a circuit. Higher the Q, the lower are the losses.

  • What Are Level-triggering Interrupt?

    RST 6.5 & RST 5.5 are level-triggering interrupts

  • How Can Signals Be Classified For The 8085 Microprocessor?

    The signals of the 8085 microprocessor based on their functions can be classified into 7 categories namely:

    • Frequency and power signals
    • Address and data buses
    • The control bus
    • Interrupt Signals
    • Serial Input / Output signals
    • DMA signals
    • Reset Signals
  • Mention The Various Functional Blocks Of The 8085 Microprocessor.?

    The various functional blocks of the 8085 microprocessor are:

    • Registers
    • Arithmetic logic unit
    • Address buffer
    • Increment / decrement address latch
    • Interrupt control
    • Serial I/O control
    • Timing and control circuitry
    • Instructions decoder and machine cycle encoder.
  • Mention The Steps In The Interrupt Driven Mode Of Data Transfer.?

    The steps followed in this type of transfer are as follows:

    • The peripheral device would request for an interrupt.
    • The request acknowledgement for the transfer is issued at the end of instruction execution.
    • Now the ISS routine is initialized, The PC has the return address which is now stored in the stack.
    • Now data transfer is managed and coordinates by the ISS.
    • Again the Interrupt system is enabled and the above steps are repeated.
  • Write A Program That Will Store The Contents Of An Accumulator And Flag Register At Locations 2000h And 2001h.?

    By making use of the Push & Pop instructions the program can be written as:

    • LXISP, 4000H – this step initiates the SP at 4000h.
    • PUSH PSW – the contents of the accumulator and flag are pushed into the stack.
    • POP B
    • MOV A, B
    • STA 2000H
    • MOV A, C
    • STA 2001H
    • HLT
  • Classify Interrupts On The Basis Of Signals. State Their Differences.?

    On the basis of level the signals can be classified into the following types:

    • Single level interrupts
    • Multi level interrupts
    • The differences between them are as follows:
    • For single the interrupts are manages through a single ping whereas in multi they are managed by multiple pins.
    • For single level interrupts polling is essential whereas for multi level it is not necessary.
    • Single level interrupts are much slower than multi level interrupts.
  • What Are The Two Major Differences Between Intr And Other Interrupts ( Hardware)?

    The two major differences between INTR and the other hardware interrupts are as follows:

    • All the hardware interrupts are vectored interrupts but the INTR interrupt is not so. An INTR interrupt will always get the address of a subroutine from the device ( external ) itself. In the case of other hardware interrupts the interrupts come from the call generated by the processor at a already determined vector location.
    • In case of the INTR interrupt the return address of an interrupt is never saved but in the case of other hardware interrupts the locations is saved in the stack.
  • Explain Briefly The Trap Input For The 8085.?

    1. The TRAP input is sensitive to both edge and level.
    2. The pulse width for this signal should be in excess as compared to the normal noise width.
    3. A second trap will never be able to respond for the second time as it requires the first trap to go through a high to low transition.
    4. The pulse widths are wider than normal widths so as to prevent unwanted false triggers.
  • Explain Briefly What Happens When The Intr Signal Goes High In The 8085?

    The INTR is a maskable interrupt for the 8085. It has the lowest priority and is also non vectored. When this INTR signal goes into the high state the following things occur / take place:

    1. For every instruction that is executed the 8085 checks the status of this interrupt./
    2. Till an instruction is completed the signal of INTR will remain high. Once an instruction is completed the processor sends an acknowledgement signal INTA.
    3. As soon as the INTA signal goes low a new opcode is placed on the data bus for transfer.
    4. Once the new instruction is received the processor saves the address of new instruction into the STACK and an interrupt service subroutine begins.
  • Explain All The Addressing Modes Of The 8085 With The Help Of Examples.?

    The various types of addressing modes of the 8085 are as follows:

    1. Direct addressing: The instructions in itself contain the opearand. For ex. STA5513H or in/out instructions such as IN PORT C.
    2. Register addressing: The general purpose registers contain the operands. For ex. MOV A, B;
    3. Register indirect addressing: This involves the use of register pairs instead of a single register. For ex MOV A, M; ADD M.
    4. Immediate addressing: The example are MVI A, 07; or ADI 0F etc.
    5. Implicit addressing: this form of addressing contains no operands. For ex. RAR, CMA etc.
  • Mention The Different Types Of Data Transfers Possible In The 8085.?

    The various types of data transfer operations possible are:

    • Data transfer is possible between two registers.
    • It is also possible between a memory location and a register.
    • Also it can occur between an input/output device and an accumulator.
    • In reality data is never transferred it can only be copied from one location to another.
  • What Differences Can You State Between The Hlt And Hold States?

    1. The Hold is a hardware input whereas HLT is a software instruction.
    2. When the HLT state is executed the processor simply stops and the buses are driven to tri state. No form of acknowledgement signal is given out by the processor.
    3. In case of HOLD the processor goes into hold state but the buses are not driven to tri state.
    4. When the processor goes into the HOLD state it gives out an HLDA signal. This signal can be made to use by other devices.
  • Does The 8085 Support Externally Initiated Operations? If Yes How?

    Yes the 8085 does support several externally initiated operations. The possible operations and the corresponding pins for them in the 8085 are as follows:

    1. It supports resetting ( this is possible with the Reset Pin ).
    2. Various interruptions ( these are possible through Trap, RST 7.5, 6.5, 5.5 and the interrupt pins. )
    3. The 8085 also supports Readying with the help pf the Ready pin.
    4. It also has a HOLD pin which can basically pause the operation till required/ as required.
  • Explain The Flow Of A Typical Instruction Word.?

    The flow of a typical Instruction word is as follows:

    1. The content of the program counter of 2 byte is transferred to the address register known as MAR ( memory address register ). This occurs at the starting of a fetch cycle.
    2. The contents are transferred via the address bus.
    3. Once this is done the timing and control section of the processor reads the contents of the referenced memory address location.
    4. After this the data is sent to the memory data register with the help of the data bus.
    5. Now the data is placed in the instruction register which will eventually decode and execute it.
  • Briefly Explain The Steps Involved In A Fetch Cycle.?

    Fetch cycle is the time required to fetch an opcode from a particular location in memory.

    1. General Fetch Cycles consist of 3T states.
    2. The first T state involves the sending of the memory address stored in the Program Counter to the memory.
    3. During the second T state the contents of the addressed memory is read ( this generally is the opcode at the specified location)
    4. In the third T state the opcode is sent to the Instruction register through the data bus for execution.
    5. For slower memories the processors has the provision to get in to the WAIT cycles as well.
  • What Are Wait States In Microprocessors, Explain.?

    1. The WAIT state plays a significant role in preventing CPU speed incompatibilities.
    2. Many a times the processor is at a ready state to accept data from a device or location, but there might be no input available. This can lead to wastage of cpu time.
    3. So in such cases when the cpu is ready for an input but there is no such valid data then the system gets into WAIT state. In this scenario the pin 35 ( ready pin )is put into a low state.
    4. As soon as there is some valid data for the 8085 the system comes off the WAIT state and the low state of the READY pin is withdrawn.
  • What Are The Boons And Banes Of Having More General Purpose Registers In A Microprocessor.?

    1. If there are more general purpose registers the program writing process is more flexible and convenient.
    2. The number of bits that would be required to detect the registers would increase with more registers, this results in the lowering of the number of operations.
    3. When a program would involve CALL subroutines the status of the registers would have to be saved and restored often, this would result in a significant overhead for the processor.
    4. Higher the number of these registers mores space would be used by them on the chip. This can create problems in adding / implementing other functions on the chip.
  • Explain In Brief The Control And Timing Circuitry Of The 8085.?

    • The timing and control circuitry section of the 8085 is responsible for the generation of timing and control signals so that instructions can be executed.
    • The types of signals involved are : Clock signals, Control signals, Status signals, DMA signals and also the reset section.
    • It is responsible for the fetching and the decoding of the various operations.
    • This section also aids in the generations of control signals for the executions of instructions and for the sync between external devices.
  • Explain Briefly The Flag Register In The 8085 Microprocessor.?

    1. The flag register in 8085 is an 8-bit register which contains 5 bit positions.
    2. These five flags are of 1bit F/F and are known as zero, sign, carry, parity and auxiliary carry.
    3. For sign flag if the result of an MSB operation is 1 then it is set else it is reset.
    4. The zero flag is set of the result of an instruction is zero.
    5. The auxiliary carry flag is used for BCD operations, not free to the programmer.
    6. The carry flag is used for carrying and borrowing in case of addition and subtraction operations.
    7. The parity flag is used for results containing an even number of one’s.
  • What Is A Stack Pointer Register, Describe Briefly.?

    1. The Stack pointer is a sixteen bit register used to point at the stack.
    2. In read write memory the locations at which temporary data and return addresses are stored is known as the stack.
    3. In simple words stack acts like an auto decrement facility in the system.
    4. The initialization of the stack top is done with the help of an instruction LXI SP.
    5. In order to avoid program crashes a program should always be written at one end and initialized at the other.
  • Describe Briefly The Accumulator Register Of 8085.?

    • It is one of the most important 8 bit register of 8085
    • It is responsible for coordinating input and output to and from the microprocessor through it.
    • The primary purpose of this register is to store temporary data and for the placement of final values of arithmetic and logical operations.
    • This accumulator register is mainly used for arithmetic, logical, store and rotate operations.
SHARE
Previous article8051 Interview QA
Next article8086 Interview QA
Tanmoy Deb is Founder of Equonix Tech Lab Pvt Limited, which is India's first Commercial Satellite Development Company. He is working 12+ years into embedded, electronics, product development. His designed products raised more than 10Million Dollars from different crowdfunding campaign. He is also an author on different technical books. His hobby is music, creating tools for programmers.

LEAVE A REPLY

Please enter your comment!
Please enter your name here