When the lexer encounters a minus sign, it should try to convert the token to a number as it can be a negative number. Currently, lexer interprets the minus sign as a name.
A possible workaround right now is using the neg macro. For example:
// Instead of this which will be interpreted as a name:
-16
// This can be used which will be interpreted as an integer and the compiler will be able to push it as an immediate integer:
16 neg
When the lexer encounters a minus sign, it should try to convert the token to a number as it can be a negative number. Currently, lexer interprets the minus sign as a name.
A possible workaround right now is using the
neg
macro. For example: