Quantcast
Channel: MPLAB XC16
Viewing all articles
Browse latest Browse all 1508

ASM16 syntax for expressions with special operators (Ancodec)

$
0
0
I am trying to load an SFR with section's last word address. The elegant way to write this would be MOV #(.startof.(s_SampleBuffer)+.sizeof.(s_SampleBuffer)-2), W0 or MOV #(.startof.(s_SampleBuffer)+#.sizeof.(s_SampleBuffer)-2, W0 But compiler throws asm...

Viewing all articles
Browse latest Browse all 1508

Trending Articles