Return to previous page | Return to menu | Go to next page
-
3. Grammar definition
-
Constant
The following constants can be used with - SSBug.
Hexadecimal constant Arbitrary length string consisting of characters [0-9A-Fa-f], starting with character '$'
Decimal constant Arbitrary character string
that begins with the character '\' and consists of the characters [0-9]
Binary constant Arbitrary length string consisting of character [0-1], starting with character '_'
- Evaluation is performed with unsigned 32 bits, and overflow is ignored.
- The hexadecimal constant prefix character '$' can be omitted.
-
Variable
The variables that can be used in - SSBug are as follows.
@ 0, @ 1, @ 2 ..., @ 9 32-bit unsigned variable that can be freely assigned / referenced by the user
-
■ Unary operator
The unary operators available in -
SSBug are:
+ Sign positive
-Sign negative
‾ 1's complement
-
■ Binary operator
The binary operators that can be used with
- SSBug are as follows.
+ sum
-Difference
* Product
/ Exclude
& Logical AND
| Logical sum
% Remainder of 2 items
^ Exclusive OR
<< arithmetic left shift
>> Arithmetic shift right
-
symbol
In - SSBug, the symbol name is prefixed with a '.' Character. The following characters can be used as symbols.
[A-Z] [a-z] [0-9] and $ _? @ `
- Symbols are always case sensitive.
Return to previous page | Return to menu | Go to next page