answersLogoWhite

0

The compare and subtract instructions in the 8085 both subtract one operand from another, and set flags accordingly. The subtract instruction stores the result in the accumulator, while the compare instruction does not - except for the flags, the compare instruction "throws" the result away.

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

What is the instruction for exit in 8085 microprocessors?

There is no exit instruction in the 8085. Do you mean return, as in from a function or interrupt? If so, the instruction is RET.


Is there a multiply instruction?

Not in the 8085.


How many instruction are there in 8085 mp?

There are 74 instructions in the 8085 microprocessor.


What happens when MUL CH instruction is executed?

MUL is not an 8085 instruction.


What is CMP in 8085 microprocessor?

In the 8085 microprocessor, CMP (Compare) is an instruction used to compare the contents of the accumulator (register A) with another specified register or memory location. It effectively subtracts the value of the specified operand from the accumulator but does not store the result; instead, it sets the status flags (zero, carry, and sign) based on the outcome of the comparison. This allows for conditional branching in programs, as the results can be used to determine the flow of execution. The CMP instruction helps in decision-making processes within the microprocessor's operation.


What is the purpose of adc instruction according to 8085 microprocessor?

this instruction is used to add the specified register content to that of the accumulator along with the carry flag value. this instruction is used in processes which involve continuous addition.


Which is the longest instruction in 8085 instruction set?

CALL, requiring 18 clock cycles.


How many bytes are there for jump instruction in 8085?

There are 74 instructions in the 8085 microprocessor.


What is NOP Instruction stands in 8085 microprocessor?

The NOP instruction is a no-operation instruction. It does nothing to the state of the machine, except to use some time. In the case of the 8085, it uses four clock cycles plus however many wait states are need to access the NOP instruction from memory.


What no of instruction will be execute by using only one clock pulse in 8085 microprocessor?

There are no instructions in the 8085 that execute in only one clock pulse. The minimum number of clock cycles is four; three for instruction fetch and one for instruction decode/execute.


According to word size how many instruction in 8085?

The 8085 is an 8 bit processor, so its word length is 8 bits.


How does the 8085 microprocessor instruction register work?

stores next instructions