mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-21 18:52:07 +00:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user