RAK's box Flag: fi Suomeksi
1999-09-15, updated 2011-01-17

dah8300 - Hitachi H8/300 Disassembler

In spring 1995 I was struggling with Hitachi C compiler for H8/300 series microcontroller. It was buggy and I couldn't trust the code it generated. I needed something to examine the compiled code. So I wrote dah8300 - Hitachi H8/300 disassembler.

(Later I got newer, less buggy, version of the C compiler; and I was able to successfully finish the project. I don't know the quality of the compiler nowadays. That project was my first, and has also been the last one, where I used C language with H8/300.)

About...

Hitachi H8/300 code disassembler dah8300 runs in DOS. It reads binary image of H8/300 code and types it in assembly language to the screen. The output can be redirected into a file.

dah8300 was written in Forth programming language and compiled with TCOM, a public domain Forth compiler from Tom Zimmer. It is very handy with small programs as dah8300.

Usage

Just type dah8300 and you get help.

dah8300 help screen
Click the image

Esc interrupts the disassembling and causes return to DOS.

Output

The output is in five columns:

  1. H8/300 assembly instruction
  2. parameter(s) for the instruction
  3. program counter value (hexadecimal)
  4. machine code of the instruction (hexadecimal)
  5. ASCII representation of the machine code (ASCII codes outside 32...126 range are displayed as dots)

dah8300 output
Click the image

Disclaimer

dah8300 version 1.0.0, Copyright © 1999 Risto A. Karola.

dah8300 comes with ABSOLUTELY NO WARRANTY; click here for details. This is free software, and you are welcome to redistribute it under certain conditions; click here for details.

dah8300 is released under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. See file copying.txt.

Download

The zipped package: dah8300.zip ver 1.0.0
Source code: dah8300.4th ver 1.0.0