Elmo HARSFEN0602, HARmonica software manual JNZ Jump Not Zero, Jnzeol Jump Not Zero

Models: HARmonica HARSFEN0602

1 220
Download 220 pages 51.63 Kb
Page 83
Image 83

HARSFEN0602ElmoHARmonicaSoftwareManual

PRELIMINARYDRAFT

 

 

 

 

Promotion

N.A.

 

 

Output type

N.A.

 

 

Imposes end of line

Only if jump address is out of

 

 

 

the present executing line.

 

 

81

7.7.14JNZ – Jump Not Zero

Purpose:

Jump to if value is not zero (change PC to different location in program).

Algorithm:

PC IMMEDIATE VALUE

Attributes

Attribute

 

Value

Comment

Op code

 

 

May change in future

 

 

 

versions

Number of arguments

2

 

Argument type1

Unsigned short integer

Jump Address

Argument type2

Int or Float

Tested value

 

 

 

Addressing

mode1

Immediate2

 

Addressing mode2

Absent , Immediate,

(tested value can be

 

 

Stack_Immediate,Mem_Direct,

local/global variable or

 

 

BP_Relative

constant)

Promotion

 

N.A.

 

Output type

 

N.A.

 

Imposes end of line

Only if jump address is out of

 

 

 

the present executing line.

 

7.7.15JNZ_EOL – Jump Not Zero

Purpose:

Jump to if value is not zero (change PC to different location in program) and force end of line to allow breakpoints in after jump instruction.

Algorithm:

PC IMMEDIATE VALUE

Attributes

Attribute

 

Value

Comment

Op code

 

 

May change in future

 

 

 

versions

Number of arguments

2

 

Argument type1

Unsigned short integer

Jump Address

Argument type2

Int or Float

Tested value

 

 

 

Addressing

mode1

Immediate2

 

Addressing mode2

Absent , Immediate,

(tested value can be

 

 

Stack_Immediate,Mem_Direct,

local/global variable or

 

 

BP_Relative

constant)

Promotion

 

N.A.

 

Output type

 

N.A.

 

Imposes end of line

Only if jump address is out of

 

Page 83
Image 83
Elmo HARSFEN0602, HARmonica software manual JNZ Jump Not Zero, Jnzeol Jump Not Zero