Operation (Autocode)

From Moondust Wiki
Revision as of 09:49, 17 January 2022 by Wohlstand (talk | contribs)
Jump to navigation Jump to search

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

Operation type
Code Description
0 Assign, VALUE will be set.
1 Add, VALUE will be added to the current value.
2 Subtract, VALUE will be subtracted from the current value.
3 Multiply, The current value will be multiplied by VALUE.
4 Divide, The current value will be divided by VALUE.
5 eXclusive OR, The current value will have a bitwise exclusive-or operation performed on it against VALUE.
Notice Important note: (float and double types are not supported, target will stay unchanged)
6 Absolute, Set the absolute of the current value.
Notice Important note: This operation is not implemented yet