aboutsummaryrefslogtreecommitdiff
path: root/asm/lexer.c
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2023-10-28 18:16:50 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2023-10-28 18:16:50 +0100
commit32dfcc109c6bb10465015a77b51f06856c2a7d95 (patch)
tree9e8ae45db386b8a7cdedd8a8ab47153aa7456385 /asm/lexer.c
parentfc81cda96bce85a8cb0a312c724cd144e6375b58 (diff)
downloadovm-32dfcc109c6bb10465015a77b51f06856c2a7d95.tar.gz
ovm-32dfcc109c6bb10465015a77b51f06856c2a7d95.tar.bz2
ovm-32dfcc109c6bb10465015a77b51f06856c2a7d95.zip
Added macro to do safe subtractions on a word
Default C just lets overflows occur for subtraction, so this macro will default to 0 if the subtraction causes an overflow.
Diffstat (limited to 'asm/lexer.c')
0 files changed, 0 insertions, 0 deletions