Elmo HARmonica, HARSFEN0602 software manual Freevac Free Virtual Machine, For Bitwise or Operator

Models: HARmonica HARSFEN0602

1 220
Download 220 pages 51.63 Kb
Page 80
Image 80

HARSFEN0602ElmoHARmonicaSoftwareManual

PRELIMINARYDRAFT

 

 

 

 

 

 

loop

 

Addressing mode2

Mem_Direct , BP_Relative

Iterator variable address,

 

 

 

depend on the addressing

 

 

 

mode.

 

Promotion

N.A.

 

 

Output type

N.A.

 

 

Imposes end of line

Only if jump address is out

 

 

 

of the present executing line.

 

 

7.7.7FREE_VAC - Free Virtual Machine

Purpose:

Stop program execution.

Algorithm:

Zeroes program execution flag.

Attributes

Attribute

Value

Comment

Op code

 

May change in future

 

 

versions

Number of arguments

None

 

Argument types

N.A.

 

Addressing modes

N.A.

 

Promotion

N.A.

 

Output type

N.A.

 

Imposes end of line

No

 

7.7.8F_OR – Bitwise OR Operator

Purpose:

Bitwise OR operator – top two entries at the stack.

Algorithm:

 

 

 

 

(SP-1) (SP)

(SP-1)

 

 

 

SP SP-1

 

 

 

 

Attributes

 

 

 

 

Attribute

 

Value

 

Comment

Op code

 

 

 

May change in future

 

 

 

 

versions

Number of arguments

None

 

 

Argument types

N.A.

 

Both arguments types must

 

 

be integer (set according to

 

 

stack members flags)

Addressing modes

Absent

 

 

Promotion

 

N.A.

 

 

Output type

 

Int Int

Int

 

Imposes end of line

No

 

 

7.7.9GETINDEX

Purpose:

Get value from array variable defined indata segment.

Algorithm:

78

Page 80
Image 80
Elmo HARmonica, HARSFEN0602 software manual Freevac Free Virtual Machine, For Bitwise or Operator