1 ;; test all addressing permutations 2 .text 3_addressing: 4 and Y,a ; direct 5 and *ar1,a ; indirect (all modes) 6 and *ar1-,b 7 and *ar1+,a 8 stl b,*+ar1 9 and *ar1-0b,a 10 and *ar1-0,b 11 and *ar1+0,a 12 and *ar1+0b,b 13 and *ar1-%,a 14 and *ar1-0%,b 15 and *ar1+%,a 16 and *ar1+0%,b 17 and *ar1(32768),a 18 and *+ar1(X+1),b 19 and *+ar1(Y)%,a 20 and *(65535),b 21 .data 22X: .word 0 23Y: .word 1 24 .end 25