Code: Select all
push byte 128
Since an unsigned 8 bit integer can store values up to 0xFF, I think NASM is treating bytes as signed.
All it's doing is spitting out a bunch of warnings, the code itself runs fine.
However, the warnings are incredibly annoying.
I try to never have any (-Wall, -Wextra and -Werror help).
Is there any concept of unsignedness in NASM? Google hasn't been very helpful,
And the Wiki page mentions nothing on the matter.
All else aside, having a way of getting NASM to shut up about the warning would be nice.
Cheers.