Thanks Fabio for your reply,
There are 2 reasons to do this:
1) I want to test each module individually without interference of other module.
2) Right, now I am testing it from external RAM of 64 MB and I want to reduce code size so that I can run it from internal RAM of size 16K.
Till now I am able to reduce code size(eboot.nb0) to 40 KB.
In the final code I will be having
- linkage for C libraries for compilation and building
- register declarations for writing test routines