locate my code
Posted: Sat Feb 13, 2016 12:48 am
Hi,
When I write some asm code, I often use
to locate my code on the rom.bin when debugging/optimizing
I know i could use NM and all others tools for binary analysis or debug but I like this one, only needed a hex editor to check code
I wonder if something exist on C ?
Could I add "dead code" ?
When I write some asm code, I often use
Code: Select all
dc.w 0xDEAD
myfunc:
...
rts
dc.w 0xBEEF
I know i could use NM and all others tools for binary analysis or debug but I like this one, only needed a hex editor to check code
I wonder if something exist on C ?
Could I add "dead code" ?
Code: Select all
void func()
{
deadcode1;
....
deadcode2;
}