Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
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.
Explain the Johnson Counters? The Johnson counters are a variation of standard ring counters with the inverted output of the last stage fed back to the input of the first stage
Q. A60-Hz, 100-kVA, 2400/240-V(rms) transformer is used as a step-down transformer from a transmission line to a distribution system. Consider the transformer to be ideal. (a) F
Draw a relay construction diagram and briefly explain the operation of a relay. Define the terms normally open and normally closed. Define the terms Set and Reset for relays.
Define the application of CAM/CAD to engineering design along with its benefits. a) A triangle is prepared by three position vectors A[2 4 1], B[4 6 1], C[2 6 1], get the reflec
Lenz's law states: 'The direction of an induced e.m.f. is always like that it tends to set up a current opposing the motion or the change of flux responsible for inducing that
A DC shunt motor rotating at 1560 RPM is supplied from a 240-V source. The line current supplied to the motor is equal to 27 A. The shunt field resistance of the motor is equal to
what is 2 bit counter?
DPR PREPARATION: 1. Asset Management 2. System Operations and Despatch 3. Field Operations 4. Customer Processes 5. Corporate Processes The details covered
Q. Explain Common Emitter Circuit With The Help Of A Circuit Diagram? Most transistor circuits have the emitter,rather than the base,as the terminalcommon to both input and out
Name the special functions registers available in 8051. Accumulator B Register Program Status Word. Stack Pointer. Data Pointer. Port 0 Port 1 Port 2 Po
Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!
whatsapp: +91-977-207-8620
Phone: +91-977-207-8620
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd