shithub: rgbds

ref: 1d9cc01ae1f1c0493f53fb9fb018b7a924455dd7
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