Talk:Disassemblers/DFR

Perl FR Disassembler
Very nice! My Perl version doesn't yet print data in other than hex and ASCII.

Does your disassembler handle subroutine names? Here is a sample output from my Perl version:

000c0662 a604 '..'	ADD	R0, R4        000c0664 c065 '.e'	LDI:8	0x6, R5         000c0666 9bfc '..'	LDI:20	0xf7bbc, R12 000c0668 7bbc '{.' 000c066a 971c '..'	CALL	@R12		# (Sub1909) 000c066c 9f90 '..'	LEAVE Sub0003: 000c066e 0781 '..'	POP	RP 000c0670 8d0f '..'	LDM1	0xf 000c0672 9720 '. '	RET 000c0674 0f0d '..'	ENTER	0x34

I also took the liberty to change the appropriate ST/LD instruction names to PUSH/POP.

P.S. I also wondered how to upload a binary file, and had hoped there was a better way than pretending it was an image, but I couldn't find one.