shithub: rgbds

ref: 96b6e4a76ea7d9ae2d8723e87016e7d12c9c1f39
dir: /test/asm/arg-shift.asm/

View raw version
print_all: MACRO
    REPT _NARG
    	PRINTT " \1"
    	SHIFT
    ENDR
    PRINTT "\n"
ENDM

print_some: MACRO
    PRINTT "\1"
    SHIFT 5
    PRINTT "\2\6\9"
    SHIFT 17
    SHIFT
    PRINTT "\3\9"
ENDM


	print_all This test, probably, passes\,, but who knows, ?

	print_some R,e,d,n,e,x,G,a,m,e,B,o,y,D,e,v,e,l,o,p,e,m,e,n,t,S,y,s,t,e,m,\n