shithub: rgbds

ref: e6552064bfe69ae186be17641331beca9f55cc8c
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