shithub: rgbds

ref: 097999cad3c5c565c4e15695e691e603476bed00
dir: /test/asm/rept-shift.asm/

View raw version
m: macro
	PRINTT "\1 "
	REPT 4
		SHIFT
	ENDR
	PRINTT "\1s!\n"

	; Shifting a little more to check that over-shifting doesn't crash
	SHIFT
	SHIFT
	REPT 256
		SHIFT
	ENDR
	PRINTT "\1\n"
endm

 m This, used, not, to, work