Files
rgbds/test/asm/rept-shift.asm
Rangi a70ecba06f Implement PRINT and PRINTLN (#672)
Fixes #669
Closes #368
Closes #624

Deprecate PRINTT, PRINTV, PRINTI, and PRINTF

Default STRFMT("%f") to 5 fractional digits like "{f:}"
Any use of string formatting will share this default
2021-01-02 02:37:32 +01:00

18 lines
216 B
NASM

m: macro
PRINT "\1 "
REPT 4
SHIFT
ENDR
PRINTLN "\1s!"
; Shifting a little more to check that over-shifting doesn't crash
SHIFT
SHIFT
REPT 256
SHIFT
ENDR
PRINTLN "\1"
endm
m This, used, not, to, work