answersLogoWhite

0


Best Answer

the JMP command jumps from

a line in the script to another when it is read:

JMP here

INC ax

here: DEC ax

the program will skip the phase that increases ax. (make sure you tag the line it needs to jump to like in the example)

you can also use JMP as an "if" command, for example JAE(Jump if Above or Equal) with the CMP (CoMPare) command like so:

CMP ah, al

JAE here ;(if al is not below ah...)

INC ax ;(increase ax by 1)

JMP there ;(exit the if command)

here: DEC ax ;(else, decrease ax by 1)

there: [the rest of your program]

there are JMP commands for every greater lower and or equal situations.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Explain JMP instruction of 8086 processor with the help of one example?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Ignou bca 4 semester cs-64 assignment answers?

What is the need of segments in 8086 micro-processor? Explain how the address of an instruction is calculated in 8086 using segment register


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.


Why implement 8086 processor to 8087 processor?

The 8086/8088 is the general purpose processor. The 8087 is the math co-processor for the 8086/8088.


What is 8086 processor?

it primarily running as a 16 bit processor..so it is so called as 8086


What is meant by co processor configuraiton in 8086?

The co-processor on an 8086/8088 is the 8087 math co-processor. The motherboard will be designed with an extra socket for the 8087, which then integrates with the 8086/8088 to make a single unified processor.


What is the size of the instruction queue in 8086?

In 8086 the instruction queue is 6 byte long. This is because even the longest 8086 instruction is 6 byte long. Thus it is possible to prefetch even the longest instruction in the instruction set.


How is the Intel 8086 architecture designed to incorporate pipelining?

Intel 8086 has two separate units for fetching the instruction and executing the instruction. Thus while executing one instruction other instruction can be fetched. Thus it avoids the waiting time for the Execution Unit to receive other instruction. Bus Interface Unit (instruction fetching unit) stores the fetched instructions in a 6 level deep FIFO. This improves overall speed of the processor.


Describe the functions of the 8086 queue?

The 8086/8088 instruction queue is a buffer that holds opcode bytes that have been prefetched by the bus interface unit. This speeds up operations of the processor by helping to reduce fetch latency, i.e. to improve the probability that an opcode byte fetched by the processor is already available.


What represent 8086?

8086 means its a 8 bit processor and 86 is its model number


What is the last instruction of ISR in 8086?

IRET


What is TEST pin in 8086 in microprocessor?

TEST This input is examined by a 'WAIT' instruction. If the TEST input goes low, execution will continue, else, the processor remains in an idle state. The input is synchronized internally during each clock cycle on leading edge of clock.


What are the different PC motherboards compatible with 8086 processor?

No remotely modern motherboard is compatible with an 8086 processor. The old IBM PC clones from the early to mid 1980s would have been the only motherboards to support the 8086.