Add more test coverage for RGBASM (#1256)

This also fixes two bugs: `-1 >>> 32` was -1 not 0, and `macro_FreeArgs` should have been called but wasn't.
This commit is contained in:
Rangi
2023-11-29 15:16:05 -05:00
committed by GitHub
parent b46aa0f55b
commit cee3d1c859
51 changed files with 238 additions and 80 deletions

View File

@@ -24,6 +24,16 @@ section "test", ROM0[0]
test -4 >> 2
test -1 >> -9001
test 100 << -2
test 1 >> -2
test 100 >>> 16
test 100 >>> -16
test 100 >>> 32
test 100 >>> -32
test -100 >>> 32
test -100 >>> -32
test $DEADBEEF >> 1
test $DEADBEEF >>> 1