Elmo HARSFEN0602, HARmonica software manual XOR Bitwise XOR Operator

Models: HARmonica HARSFEN0602

1 220
Download 220 pages 51.63 Kb
Page 95
Image 95

HARSFEN0602ElmoHARmonicaSoftwareManual

PRELIMINARYDRAFT

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

Yes

Jump address is out of the

 

 

 

present executing line.

 

7.7.41XOR – Bitwise XOR Operator

Purpose:

Bitwise XOR 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

 

 

 

 

 

 

93

Page 95
Image 95
Elmo HARSFEN0602, HARmonica software manual XOR Bitwise XOR Operator