[LMH] I dumped out EXPT...
nyef@lisphacker.com
nyef@lisphacker.com
Fri, 21 Oct 2005 17:53:50 +0100
Daniel Seagraves writes:
> On Fri, 21 Oct 2005 nyef@lisphacker.com wrote:
>
>> I have a similar file in my private collection, but I obviously used a
>> different disassembler. I have since found that the disassembly isn't
>> complete without a dump of A-Memory as well. There are a number of jump
>> tables with indices in A-Memory, for example.
>
> Done, dump now includes A and M memory.
Some more information for you: The Diagnostic Engine Interpreter opcode
interpreter (the bit that picks a handler based on the opcode value) is at
L-682. This is basically the same code as in the STBM and probably BOOT.
>> Oh, and some parts of WCS actually contain ASCII data. Have a look at L-1134
>> through L-1165 and L-13590 through L-15058. Runs about 6 characters to an
>> I-Memory word (the top byte basically contains parity information, strings
>> are NUL-terminated).
>
> I suspected that. I'll have to make the disassembler smarter to handle
> that.
I should probably see about souping up my disassembler. Mine can do symbol
substitution for memory locations (in A-, M-, and I- memory), but it's a
rather underused feature. I also have some code to re-disassemble a file to
regenerate the disassembly based on new symbol table entries while leaving
comments undisturbed. I should be able to rig that to operate on a region
instead...
--Alastair Bridgewater