Thread: Disassembler
View Single Post
Old 11 November 2012, 22:56   #32
AnimaInCorpore
Registered User
 
Join Date: Nov 2012
Location: Willich/Germany
Posts: 232
Quote:
Originally Posted by copse View Post
I can now disassemble .x files, but my disassembler chokes on instructions it cannot handle yet.

Take this line from Tunnels and Trolls:
Code:
0x6683A: 0xFF3C: 1111[111]100[111][100] cpSAVE 7, Imm
Imm is actually an invalid effective addressing mode for the cpSAVE instruction, so as I understand it should cause an F-Line thingy. I think Resource disassembles these sorts of invalid instructions as "fRestore ?????" or even sometimes "AFLINE something".

Anyone have any insight into the best way to handle these invalid instructions?
Line-F calls are Human68k DOS calls. You can read more about those DOS calls here: http://datacrystal.romhacking.net/wiki/X68kOSCALL

Cheers
Sascha
AnimaInCorpore is offline  
 
Page generated in 0.04332 seconds with 11 queries