Elmo HARmonica, HARSFEN0602 software manual JZ Jump If Zero, Jzeol Jump If Zero, Link

Models: HARmonica HARSFEN0602

1 220
Download 220 pages 51.63 Kb
Page 84
Image 84

HARSFEN0602ElmoHARmonicaSoftwareManual

PRELIMINARYDRAFT

the present executing line.

7.7.16JZ – Jump If Zero

Purpose:

Jump to if value is 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.17JZ_EOL – Jump If Zero

Purpose:

Jump to if value is 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

 

 

 

the present executing line.

 

7.7.18LINK

82

Page 84
Image 84
Elmo HARmonica, HARSFEN0602 software manual JZ Jump If Zero, Jzeol Jump If Zero, Link