shithub: rgbds

ref: 70bbb098d3b76909d27e0bff3c331f774073dfb0
dir: /test/asm/rept-shift.asm/

View raw version
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