PIC16C5x Disassembler
Microchip PIC16C54/C55/C56/C57/C58 Processors supported
 
C O N T E N T S
Program Features
Demonstration
Program Documentation
How to order
L I N K S
Microchip Logo
Microchip Technology Inc.
C O N T A C T
Arsen Torbarina
Skokov prilaz 2
HR-10020 Zagreb, Utrine
CROATIA
 
e-mail: mymail@mail.com
 
USING THE DIS16 DISASSEMBLER
 
This example shows how DIS16 disassembles a HEX file downloaded from a microcontroller. The generated ASM file contains the assembler source, the LST file contains both assembler and HEX code, and the ERR file contains the messages generated during the process.
 
C:\DIS16>dis16 demo 
Disassembling: DEMO.HEX
Void code = 0x000
 
1 warning(s) encountered! 
C:\DIS16>_
Figure 2. Disassembling is completed 
C:\DIS16>dis16 demo_
Figure 1. Running the disassembler
C:\DIS16>dir demo.* 
DEMO     HEX     313  Show it!
DEMO     ASM   1.096  Show it!
DEMO     ERR      53  Show it!
DEMO     LST   2.968  Show it!
        4 file(s)     4.430 bytes
C:\DIS16>_
Figure 3. Generated files
 
 
GENERATED FILES
Press  to reset the listings. 

DEMO.ERR - This file contains all the ERROR and WARNING messages generated during the process:

DEMO.HEX - Input file containing the code downloaded from the microcontroller. DIS16 supports 8-bit HEX format, 16-bit HEX format, Intel Split HEX format and Raw BIN format.
DEMO.ASM - Disassembled source in MPASM assembler format. DIS16 can detect unreachable parts of a code and multiple-page jumps (see the CALL 0x050 instruction below the L00E label).
DEMO.LST - Disassembled listing containing line number, HEX code and symbolic names of instructions. DIS16 can detect unreachable parts of a code and multiple-page jumps (see line 41).
© 1998-2005 Arsen Torbarina