shithub: rgbds

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