HARSFEN0602ElmoHARmonicaSoftwareManual

PRELIMINARYDRAFT

PC Immediate value

 

 

 

Attributes

 

 

 

Attribute

Value

Comment

 

Op code

 

May change in future

 

 

 

versions

 

Number of arguments

1

 

 

Argument type

Signed short integer

Jump Address

 

Addressing modes

Immediate2

 

 

 

 

 

Promotion

N.A.

 

 

Output type

N.A.

 

 

Imposes end of line

Only if jump address is out

 

 

 

of the present executing line.

 

 

7.7.12JMP_EOL – Jump

Purpose:

Jump to another location in the program and force end of line . This is used in cases when we want to set breakpoints at specific address but we cant because its not at new line.

Algorithm:

PC Immediate value

Attributes

Attribute

Value

Comment

Op code

 

May change in future

 

 

versions

Number of arguments

1

 

Argument type

Signed short integer

Jump Address

Addressing modes

Immediate2

 

 

 

Promotion

N.A.

 

Output type

N.A.

 

Imposes end of line

Only if jump address is out

 

 

of the present executing line.

 

7.7.13JMP_LABEL – Jump to the label

Purpose:

Jump to another location in the program.

Algorithm:

PC Immediate value Remarks:

The JMP_LABEL is similar to the opcode JMP. The only difference between them is in the argument. The argument of JMP_LABEL contains the absolute jump address in the Code Segment, while the argument of JMP is relative regards to the current location of the command pointer.

Attributes

Attribute

Value

Comment

Op code

 

May change in future

 

versions

Number of arguments

1

 

Argument type

Unsigned short integer

Label Address in the Code

 

 

Segment

Addressing modes

Immediate2

 

80

Page 82
Image 82
Elmo HARmonica, HARSFEN0602 software manual Jmpeol Jump, Jmplabel Jump to the label