I tested it with PROGMEM and it returns byte address (same as now)
Tested it with Labels ( ptr = &&foo) and it return word address (which I
intended).
I did not test goto *ptr, as I have not loaded patch for jump/long jump
(so its does nothing). I'm sure my patch for that expects words so it
will not be problem.
I have checked switch/jump tables. That is un-changed using WORDs,
To Summarize:
Address of function WORDs
Address of function +- offset WORDS with WORD offset
Address of normal RAM variable BYTEs
Address of PROGMEM variable BYTEs
Address of Label WORDS
Address used in switch table WORDs
Pointer used in goto *ptr WORDs (TBC)
Looks good so far!
Comments?