Piru wrote:
Some flashback from my asm coding days:
Indeed, if the library name begins with 'u' you can overlay with 'RTS' instruction. This was esp useful for utility.library:
;...
rts
UtilityName EQU *-1
dc.b 'tility.library',0
This way the library name begins in the middle of the 'rts' instruction... :-) And you possibly save another 4 bytes in executable size. Yay!
Dude, thats very grim ;-) I'd write some sort of self extracting compressed code before resorting to this :-D