Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Electrical & Electronics Expert

Unconditional Jump

JMP ( Unconditional Jump ) Instruction: This  instruction is used to transfer  the execution to the  specified  memory  address unconditionally ( does not check any condition before jump).  It is  normally  used to create an indefinite  loop. The  instruction format is

                            JMP 16 bit memory address

Actually it copies  the specified  memory address into the  program counter register. Hence the  microprocessor reads  the next  instruction from the address  stored in the program  counter. Now as  usual  the contains  of the  program  counter register  starts  incrementing by  one. Program executes sequentially until it encounters any other  branch  instruction.

See followings   example to  understand  the working  of JMP  instruction.

Note: You  must have noticed that Sex codes  of IN  and OUT  instruction  are written  at two  consecutive  memory  locations and Hex  codes  of JMP instruction  are written at  three  consecutive  memory  locations. Without going  into the  details of the Hex  codes and size of the instruction at this moment ( which will be  discussed later in this chapter) let us concentrate on the working  of the JMP  instruction.

In the  above program the instruction JMP  20502H will  transfer  the execution back to the first instruction which is stored  at 2050H and keep on repeating the  task by  creating  an indefinite  loop.

The  above  program may be  written  as shown  below using labels when written  using  assembler. In laboratory using microprocessor  kit one has to the hex  codes( programming techniques will be explained in detail in chapter4).

The label  represent the  memory  address of the instruction written  along with  it. In the above  program the label  START represents the  memory  address 2050H where IN  instruction is stored. It is referred  by JMP  instruction  written at memory  location 2054H.

Electrical & Electronics, Engineering

  • Category:- Electrical & Electronics
  • Reference No.:- M9617616

Have any Question?


Related Questions in Electrical & Electronics

Electrical engineering questions -q1 two ideal voltage

Electrical Engineering Questions - Q1. Two ideal voltage sources designated as machines 1 and 2 are connected, as shown in the figure below. Given E 1 = 65∠0 o V, E 2 = 65∠30 o V, Z = 3Ω. Determine if Machine 1 is genera ...

Discuss the role of load factor on the cost of electrical

Discuss the role of load factor on the cost of electrical energy.

Assignment - power distribution system transformerscomplete

Assignment - Power Distribution System Transformers Complete your calculations, drawings, and answers, neatly handwritten on these sheets and hand in at the start of lecture in week 6. Absolutely no late submissions will ...

Questions -q1 a single-phase transformer rated 21 kv130 v

Questions - Q1. A single-phase transformer rated 2.1 kV/130 V, 7.8 kVA has the following winding parameters: r1= 0.7Ω, x1 = 0.9Ω, r2 = 0.04Ω and x2 = 0.05Ω. Determine: a. The combined winding resistance ________ Ω and le ...

Questions -problem 1 - solve for i0 in fig using mesh

Questions - Problem 1 - Solve for i 0 in Fig. using mesh analysis. Problem 2 - Use mesh analysis to find current i 0 in the circuit. Problem 3 - Use mesh analysis to find v 0 in the circuit. Let v s1 = 120 cos(100t+ 90 o ...

Question 1for the ce amplifier in figure 1 given the

Question 1 For the CE amplifier in Figure (1), given the following component parameters: Parameter Value β DC , β AC 150 V BE 0 . 7 V V CC 12 V R C 820 ? R E 1 100 ? R E 2 220 ? R 1 20 k? R 2 5 . 2 k? R L 100 k? C 1 , C ...

Question -i a star-connected three-phase synchronous

Question - (i) A star-connected, three-phase synchronous induction motor takes a current of 10 amps from a 415 volt supply at unity power factor when supplying a steady load. If the synchronous reactance is 5 ohms/phase ...

Problem 1given a sequence xn for 0lenle3 where x0 1 x1 1

Problem # 1: Given a sequence x(n) for 0≤n≤3, where x(0) = 1, x(1) = 1, x(2) = -1, and x(3) = 0, compute its DFT X(k). (Use DFT formula, don't use MATLAB function) Problem # 2: Use inverse DFT and apply it on the Fourier ...

1 goalin this project you will solve a non-trivial design

1 Goal In this project you will solve a non-trivial design problem explicitly using the divide-and-conquer (D&C) approach. The main reason for using the D&C approach is the ease of the design process and the streamlined ...

A four-pole star-connected squirrel-cage induction motor

A four-pole, star-connected, squirrel-cage induction motor operates from a variable voltage 50 Hz three-phase supply. The following results were obtained as the supply voltage was gradually reduced with the motor running ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As