WRLONG x,ptra[y] + SETQ
ManAtWork
Posts: 2,176
in Propeller 2
Why does this work
add ptra,#(18)*4 setq #writeEnd-writeStart-1 wrlong writeStart,ptra sub ptra,#(18)*4but this doesn't ?
setq #writeEnd-writeStart-1 wrlong writeStart,ptra[18]Are the uses of indexed pointer access and block transfer mutually exclusive?
Comments
Yes. The hardware only allows block transfer with a subset of pointer modes (basically just plain pointer and pointer post-increment, I think, although you should check the docs to be sure).
Chip has thrown in some bonus combinations I hadn't even pondered.