[NTLK] ROM Disassembly online?
mm at matthiasm.com
Wed Apr 1 23:35:02 EDT 2015
Some disassembly sample code:
ATLKSocketClosed__4TAEPFP17TAppleTalkMessage: @ 0x00025254: TAEP::ATLKSocketClosed(TAppleTalkMessage *)
@ label = 'ATLKSocketClosed__4TAEPFP17TAppleTalkMessage'
@ ARM R0 = type: 'TAppleTalkMessage'*
@ name = 'ATLKSocketClosed'
@ class = 'TAEP'
mov r0, #0 @ [ 0x00000000 ] 0x00025254 0xE3A00000 - ....
mov pc, lr @ 0x00025258 0xE1A0F00E - ....
Init__4TAEPFv: @ 0x0002525C: TAEP::Init(void)
@ label = 'Init__4TAEPFv'
@ name = 'Init'
@ class = 'TAEP'
ldr r2, L00025268 @ [ 0x6E657774 ] 0x0002525C 0xE59F2004 - ....
ldr r1, L0002526C @ [ 0x61657020 ] 0x00025260 0xE59F1004 - ....
b VEC_Init__12TStackObjectFUlT1 @ 0x00025264 0xEA695ACF - .iZ.
.word 0x6E657774 @ 0x00025268 "newt" 1852143476 (flags_type_arm_word) ?
.word 0x61657020 @ 0x0002526C "aep." 1634037792 (flags_type_arm_word) ?
> On Apr 1, 2015, at 6:22 PM, Mark Crutch <mark.crutch at gmail.com> wrote:
>> The idea is to upload the comments only, and use a modified assembler to
>> add the ROM code when needed, and to remove the ROM code before pushing any
>> additional comments and findings to git. There will never be any ROM code
>> on Github, only our comments, and a program that merges and splits code and
> If the disassembled code contains some reliable "anchor" points - symbols,
> labels, specific addresses or similar - perhaps your comments could be held
> within a "sed" script (or collection of scripts). Given that the script
> will mostly (if not entirely) be used to insert text at particular points,
> the sed script would just be a series of
> comment line 1 \
> comment line 2 \
> comment final line
> where [address] could be a specific line number or a regular expression
> that matches a label or symbol in the code.
> I've not seen what the disassembled code looks like, nor how you want to
> comment it, so this might be a non-starter of course.
> *The Greys*, *Elvie* and *Monsters, Inked* webcomics
> Website http://www.peppertop.com/
> Facebook http://facebook.com/TheGreysComic
> Twitter https://twitter.com/TheGreysComic
More information about the NewtonTalk