Operation (Autocode)

From Moondust Wiki
Revision as of 09:30, 17 January 2022 by Wohlstand (talk | contribs) (Created page with "Category: LunaDLL Category: Autocode Commands '''Operation type''' - Enumeration used at the LunaDLL Autocode language at some commands. {| class="wikitable" |+ Opera...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Operation type - Enumeration used at the LunaDLL Autocode language at some commands.

Operation type
Code Description
0 Assign, just set the target field with a given value
1 Add, set the arithmetical summ of the target field and a given value
2 Subtract, set the arithmetical difference of the target field and a given value
3 Multiply, set the arithmetical product of the target field and a given value
4 Divide, set the arithmetical quotient of the target field and a given value
5 eXclusive OR, set the result of the bitwise exclusive OR with the target field and a given value
Notice Important note: (float and double types are not supported, target will stay unchanged)
6 Absolute, set the absolute value of the target.
Notice Important note: This operation is not implemented yet