Basic 8085 Programs Pdf

31.12.2019by admin
Basic 8085 Programs Pdf Rating: 9,0/10 4033 reviews

Code:LDA 8500//Load the accumulator with the address of memory viz 8500MOV B, AMove the accumulator value to the register BLDA 8501//Load the accumulator with the address of memory viz 8501ADD B//Add the content of the Accumulator to the Register BSTA 8502//Store the output at a memory location e.g. 8502MVI A, 00//clear the accumulator with 00ADC A//Add with carry the content of the accumulatorSTA 8503//Store the output at a memory location e.g. 8503HLT//Stop the program executionImplementing the above program for the subtraction is very simple just replace ADD with SUB and ADC with SBB and all should be working fine.

  1. Basic 8085 Programs Pdf Free
  2. 8085 Microprocessor Notes Pdf
  3. Basic 8085 Programs Pdf Free

Oureducation.in Register Your CoachingIntroductionCandidates preparing for any recruitment or interview and have added microprocessor in to their resumes and looking for a good set of interview questions on microprocessor as initial preparation. In this section, we have provided a set of important frequently asked interview questions on microprocessor. It contains all the basic questions that is generally asked during the interview covering all the topics. I have faced these questions during my interviews for various companies. Just go through these questions will surely boost up you for the interview. Questions are taken after consulting from successful candidates who are placed in top multi national companies and opted microprocessor as their subject of interest. Still if it contains any error please do let us know we will surely work on it.

Any type of suggestions will be highly appreciated. Microprocessor Interview questionsInterview Questions on Microprocessor:-1) What type of architecture used in 8085 microprocessor?

Interview Questions on Microprocessor 8085Ans. 8085 has Von Neumann architecture. It is named after the mathematician John Von Neumann. It is based on the concept of stored program control. In this architecture both the data and the program is stored in the same memory.2) What is the function of accumulator? Interview Questions on Microprocessor 8085Ans. Accumulator is an 8 bit register which stores data and performs arithmetic and logical operations.

The result of the operation is stored in the accumulator. It is designated by the letter ‘A’.3) What are the different types of flags in 8085 microprocessor? Interview Questions on Microprocessor 8085Ans. There are 5 different flags in 8085 microprocessor. Though the flag register is of 8 bit but 3 bits are not in use.

Only 5 bits are used for the different flags. They are:-a) Sign flag(s)– This is designated by the letter ‘S’. If sign bit is 1 then the sign flag is set to 1 and if the sign bit is zero then sign flag is reset to zero.b) Zero flag(z)– This is designated by the letter ‘z’. If the result of any arithmetic or logical operation is zero i.e. All the bits are zero then zero flag is set to 1 else it is set to zero.c) Auxiliary carry– (AC) This flag is set to 1 only when any intermediate carry is produced.

Else it is reset to 0.d) Parity flag (P) – when the result of any operation has odd number of ones then parity flag is set to 1 else if it has even number of ones then it is reset to 0.e) Carry flag(C) – this flag is set to 1 only when a carry is produced in the result i.e. The carry bit is 1 else if the carry bit is zero then the flag is reset to zero.4) What are the types of general purpose registers in 8085?Ans. There are 6 general purpose registers in 8085 microprocessor. They are designated by the letters – B, C, D, E, H, and L. These are 8 bit registers and are used to store data temporarily during the execution of any program. These registers can also be used to store 16 bit data by using them in pairs i.e. BC, DE and HL.

Basic 8085 Programs Pdf

These pairs cannot be changed as B cannot pair with any other register other than C.5) What is the length of stack pointer in 8085 microprocessor? And what is its use? Interview Sample paper question answer on 8085 Microprocessor.Ans. Stack pointer is of 16 bits length and is used to point to the value at top of the stack for the currently executed instruction.6) What is the memory size of 8085 microprocessor? Placement Interview Sample paper question answer on 8085 MicroprocessorAns. 8085 has 8 data lines and 16 address lines. The memory size of any microprocessor depends on the number of address lines.

The general formula is 2^n, where n= number of address lines. For 8085 there are 2^16= 64 Kbytes memory size.7) How many bits is 8085 microprocessor? Sample Paper Interview question answerAns. Microprocessor is named on the basis of number of data lines in it.

Basic 8085 Programs Pdf Free

8085 is a bit microprocessor as it has 8 bit data lines.8) What are the various interrupts in 8085 microprocessor? Which is the highest priority interrupt? Important questions on Microprocessor 8085There are 6 types of interrupts in 8085. They area) TRAPb) RST 7.5c) RST 6.5d) RST 5.5e) INTRf) Interrupt acknowledgment (INTA(bar)).TRAP has the highest priority among all the interrupts.9) Which type of cycle is used for fetch and execute instruction?

Sample Paper Interview question answerAns. Instruction cycle is used for the fetch and execute instruction.In this cycle the instruction is fetched, decoded and executed to produce the required output.10) How many address lines are there in 8085 microprocessor? Sample Paper Interview question answerAns. There are 16 address lines in 8085. They are multiplexed address and data lines.

8085 Microprocessor Notes Pdf

Address bus of 8085 is of 16 bits. During the first machine cycle these address lines are used as data lines and in the next machine cycle all the 16 lines act as address lines.The multiplexed 8 address and data lines refer to lower order address bit and the rest 8 for higher order address bits.11) What is a Microprocessor?Ans:- Microprocessor is a program-controlled device, that fetches the instructions from memory, decode it & executes the instructions. Generally Microprocessor are single- chip devices.12) Why crystal is being preferred as a clock source?Ans:- Reasons-high stability, large Q (Quality Factor) & the frequency that doesn’t drift with aging.

Basic 8085 Programs Pdf Free

So crystal is used as a clock source most of the times.13) Name High order / Low order Register in 8085 microprocessor?Ans:-Flag is called Low order register & Accumulator is called High order Register in 8085 microprocessor.14) Describe Tri-state logic? Ans:- Three Logic Levels are used and they are known as High, Low, High impedance state. The high and low are said to be normal logic levels where as high impedance state is electrical open circuit conditions.