Jump Instruction, JMP, JC, JNC, JP, JM, JZ, JNZ, JPE, JPO

1. JMP: -  (unconditionally jump) The program sequence is transferred to the memory location specified by the16-bit address given in the operand.
Eg: - JMP 2034H ( jump to location 2034H) there is no condition to jump.
         JMP ABC (jump to abc level)



2. JC: - (conditional jump)  The program sequence is transferred to a particular level or a 16-bit address if C=1 (or carry is 1)
  


Eg: - JC ABC (jump to the level abc if C=1)



3. JNC:- (conditional jump) The program sequence is transferred to a particular level or a 16-bit address if C=0 (or carry is 0)

 Eg: JNC ABC (jump to the level abc if C=0)



4. JP: - (conditional jump) The program sequence is transferred to a particular level or a 16-bit address if S=0 (or sign is 0)

 Eg: - JP ABC (jump to the level abc if S=0)


 5. JM: - (conditional jump) The program sequence is transferred to a particular level or a 16-bit address if S=1 (or sign is 1)

 Eg: - JM ABC (jump to the level abc if S=1)



6. JZ: - (conditional jump) The program sequence is transferred to a particular level or a 16-bit address if Z=1 (or zero flag is 0)

 Eg: - JZ ABC (jump to the level abc if Z=1)


 7. JNZ: - (conditional jump) The program sequence is transferred to a particular level or a 16-bit address if Z=0 (or zero flag is 0)

 Eg: - JNZ ABC (jump to the level abc if Z=0)



8.JPE: -  (conditional jump) The program sequence is transferred to a particular level or a 16-bit address if P=1 (or parity flag is 1)

 Eg: - JPE ABC (jump to the level abc if P=1)



9. JPO: -  (conditional jump) The program sequence is transferred to a particular level or a 16-bit address if P=0 (or parity flag is 0)

 Eg: - JPO ABC (jump to the level abc if P=0)


27 comments:

  1. This comment has been removed by the author.

    ReplyDelete
    Replies
    1. opppppppppppppps

      Delete
    2. If the bit no. of 1's in a bit stream is positive.
      1. e.g.
      00110011 here you can see the no. of 1's is 4 which is an even number then parity bit will be 1 [p=1].
      2. e.g. 00000000 here you can see the of 1's is 0 which is positive then parity bit will be 1 [P=1].

      Delete
  2. edit suggestion-- In 6th point it should be "zero flag is 1" in the bracket
    " 6. JZ: - (conditional jump) The program sequence is transferred to a particular level or a 16-bit address if Z=1 (or zero flag is 0)".

    ReplyDelete
  3. This comment has been removed by the author.

    ReplyDelete
  4. Replies
    1. This comment has been removed by the author.

      Delete
  5. Jnz means jump not zero so when the condition is true means when jnz is not zero the it will go at abc and if jnz =0 it leaves the loop

    ReplyDelete
  6. Good bery helpful and easy to understand :-)

    ReplyDelete
  7. Zero flag 1 line needs to be modified, please take a look

    ReplyDelete
  8. Thanks for sharing the crack but you need to update this version because here new version Available below;

    https://licensedinfo.com/jp-software-take-command-crack/

    ReplyDelete