mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-24 12:02:08 +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:
@@ -8,6 +8,8 @@ DEF N = 112
|
||||
DEF FMT EQUS "X"
|
||||
PRINTLN STRFMT("\tdb %#03{s:FMT} %% 26\t; %#03{FMT}", N, N % 26)
|
||||
|
||||
PRINTLN STRFMT("%d = %#x = %#b = %#o != %f", 42, 42, 42, 42, 42.0)
|
||||
|
||||
DEF TEMPLATE EQUS "\"%s are %s\\n\""
|
||||
PRINT STRFMT(TEMPLATE, "roses", "red")
|
||||
PRINT STRFMT(TEMPLATE, "violets", "blue")
|
||||
|
||||
Reference in New Issue
Block a user