shithub: rgbds

ref: c7a92d3104807f2831b706642adbd3492e440ac3
dir: /test/asm/shift-negative.asm/

View raw version
reverse: MACRO
	for i, _NARG
i = _NARG - i - 1
		shift i
		println \1
		shift -i
	endr
ENDM

	reverse $1, $2, $3

m: MACRO
	shift 2
	shift -3
	shift 1
	shift 1
	shift -1
	shift -1
ENDM
	m one