answersLogoWhite

0


Best Answer

A microprocessor know whether the next byte is an instruction or data because the microprocessor knows for what it is looking. The bus, on the other hand, for an 8085 based system, knows an opcode from data by looking at S0 and S1 when IO/M- is low. If both are high, it is an opcode, otherwise it is data.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How does a microprocessor know whether the next byte is an instruction or data?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is 3 byte instruction in microprocessor?

A two-byte instruction gives the specific function instruction in two bytes, or two words. The first specifies the opcode, which tells the microprocessor what operation will occur. The second specifies the operand, or the data that the operation is done on.


What is the different between MOV and MVI in 8085?

In the 8085 microprocessor, the MOV instruction copies data between two registers, or between a register and memory. The MVI instruction differs only in that the source data is contained in the byte immediately following the opcode byte.


How does the microprocessor work?

Suppose we give a 8-bit instruction ADD B to the microprocessor then this instruction is not at all understood by microprocessor as it only accepts binary inputs so first of all it stores the instruction in the INSTRUCTION REGISTOR then it decodes this instruction ADD B to its suitable binary code 80H in the INSTRUCTION DECODER.. after converting to 80H then the microprocessor understands that .. yes i have to add the content of the resistor B with that of A(accumulator) and store the result in the accumulator A this is a small example how microprocessor operates facing the instructions


Various string instruction in 8086 microprocessor?

A series of data bytes or words available in a memory at consecutive locations, to be referred to collectively or individually, are called as byte strings or word strings.


PUSH Instruction in 8085 Micro processor?

Push instruction pushes two byte of data on the top of the stack.


What is the need of Instruction PointerIP in 8086 microprocessor?

The Instruction Pointer (IP) in an 8086 microprocessor contains the address of the next instruction to be executed. The processor uses IP to request memory data from the Bus Interface Unit, and then increments it by the size of the instruction.


Types of instruction format of 8085?

The 8085 instruction set is classified into three groups according to its Word size. They are 1. One word /1 byte instructions 2. Two word / 2 byte instructions 3. Three word / 3 byte instructions


Why all the 16 address lines are not act as a data lines in 8085 microprocessor?

the 8085 microprocessor is a 8-bit microprocessor and these are bidirectional but the address lines are unidirectional.these address lines are used to address the location of the instruction in memory .these data lines are used to transfer data between processor and peripheral devices. when the address of the instruction will be recognized by the address lines the data will be send to the processor therefore the 16 address lines are not act as a data lines in 8085


What is ORG in assembly language programming?

ORG is an assembler directive that sets the address of the next generated instruction or data byte.


What is microprocessor architecture?

Microprocessor Architecture is the design of Processor's functioning. It defines how devices are controlled, Execution of Data, Physical connectivity between units & components on the Processor.


What are the applications of decoder?

Decoders are used to analyze data streams for a certain data code and give an output if the data is present like an address to a peripheral unit that needs service. application of decoders as follow microprocessor memory system microprocessor input-output system memory chip microprocessor instruction chip & lots of other application


How data and instruction are represented in binary inside the computer?

Every microprocessor architecture has a specific set of instructions that are embedded into the processor itself and each instruction correspond to a specific opcode. Data and instructions in memory are represented in an address format.