shithub: rgbds

ref: 97965c9766e689ccacd30faff48070bb7aafd812
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