HerobrinesArmy / DevCPU

Integrated DCPU-16 development and emulation environment
16 stars 2 forks source link

Code relocation tables (highly configurable in format) #37

Open JeremyWildsmith opened 11 years ago

JeremyWildsmith commented 11 years ago

We need some sort of code relocation table.

However, since everyone has their own Executable Image format, it'll probably be a waste of time trying to implement it in a specific manner. What I suggest is that you have an option for users to add custom passes or something of this sort so that they can recognize places where code should be relocated and generate appropriate metadata in a table.

Not sure how exactly it should be done, but like I said it should be highly configurable.

Yamakaky commented 11 years ago

Release 1 ? XD

L3nn0x commented 11 years ago

Or you just propose an option to not compact numbers into one command. So a piece of software can do a live pass. :p

HerobrinesArmy commented 11 years ago

With respect to Faerie's comment, Release 1 will support .longform and .shortform directives for disabling and enabling short literal optimization.

L3nn0x commented 11 years ago

Yeah ! That's the feature I wanted to have! :D