shithub: rgbds

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