mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +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:
@@ -10,5 +10,13 @@
|
||||
-4 >> 1 = $FFFFFFFE
|
||||
-4 >> 2 = $FFFFFFFF
|
||||
-1 >> -9001 = $0
|
||||
100 << -2 = $19
|
||||
1 >> -2 = $4
|
||||
100 >>> 16 = $0
|
||||
100 >>> -16 = $640000
|
||||
100 >>> 32 = $0
|
||||
100 >>> -32 = $0
|
||||
-100 >>> 32 = $0
|
||||
-100 >>> -32 = $0
|
||||
$DEADBEEF >> 1 = $EF56DF77
|
||||
$DEADBEEF >>> 1 = $6F56DF77
|
||||
|
||||
Reference in New Issue
Block a user