Welcome, Guest. Please login or register.

Author Topic: nudos.library  (Read 2296 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16882
  • Country: gb
  • Thanked: 6 times
    • Show all replies
Re: nudos.library
« on: February 06, 2004, 10:05:45 PM »
Quote

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
int p; // A