Debian Codegraph @

dz80-d48addendum.html

raw
1 <!doctype html public"-//w3c//dtd xhtml 1.0 Transitional//en">
2 <html>
3 <head>
4 <title>DZ80/D48 Disassembler User's Manual</title>
5 </head>
6 <body>
7 <a name="topofdoc"></a>
8 <div align="center">
9 <font size="8" color="#ff0000">
10 <strong><i>DZ80/D48 Addendum to D52 Disassembler User's Manual</i></strong><br>
11 </font>
12 <hr>
13 <font size="4" color="#000000">
14 Z80 and 8048 Disassemblers for Linux and Windows<br>
15 GNU General Public License Version 3<br>
16 Copyright 2007 by Jeffery L. Post<br>
17 &nbsp;&#106;_&#112;&#111;st &lt;&#65;T&gt; p&#97;c&#98;e&#108;l &lt;D&#79;T&gt; n&#101;t<br>
18 Hosted on <a href="http://www.8052.com/users/disasm">www.8052.com</a>
19 <br><br>
20 Version 3.4.1 - August, 2007
21 </font>
22 <hr>
23 </div>
24
25 This program is free software; you can redistribute it and/or modify
26 it under the terms of the GNU General Public License as published by
27 the Free Software Foundation; either version 3 of the License, or
28 (at your option) any later version.
29 This program is distributed in the hope that it will be useful,
30 but WITHOUT ANY WARRANTY; without even the implied warranty of
31 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
32 GNU General Public License for more details.
33 You should have received a copy of the GNU General Public License
34 along with this program; if not, write to the Free Software
35 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
36 <br><br>
37 The file COPYING contains the full text of the GNU General Public License, Version 3.
38 <br><br>
39 <i><b>NOTE: As Novell and Microsoft are in violation of the GPL, this software
40 may not be distributed by either Novell or Microsoft. The same prohibition applies
41 to any company that enters into an agreement with Microsoft regarding Microsoft's
42 phony patent claims against Linux. In addition, no one who cannot honor ALL the
43 requirements of GPL version 3 may distribute this software.</b></i>
44 <hr>
45 <br><br>
46 <i>
47 This documentation contains information regarding the differences between D52,
48 DZ80 and D48. Please see the D52 documentation (d52manual.html) for a description
49 of the features common to all three disassemblers.
50 </i>
51 <br><br>
52 <hr>
53
54 <h3>TABLE OF CONTENTS</h3>
55 <ul>
56 <li><a href="#introduction">Introduction</a><br>
57 <li><a href="#options">Command Line Options</a><br>
58 <a href="#coption">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;C option - disassemble CP/M file (DZ80)</a><br>
59 <a href="#80option">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;80 option - disassemble 8080 code (DZ80)</a><br>
60 <a href="#85option">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;85 option - disassemble 8085 code (DZ80)</a><br>
61 <a href="#1option">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1 option - disassemble 8041 code (D48)</a><br>
62
63
64 <li><a href="#directives">Control File Directives - define interpretation of disassembly data</a><br>
65 <a href="#mdirective">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;M directive - define name for bit addressable memory</a><br>
66 </li>
67 </ul>
68 <br><br>
69
70 <a name="introduction"></a>
71 <h4><em>Introduction</em></h4>
72 <hr>
73
74 DZ80 (Z80 disassembler) and D48 (8048 disassembler) are very much like the 8052
75 disassembler D52. This document describes the differences between D52 and the
76 Z80 and 8048 disassemblers.
77
78 <br><br>
79
80 <a name="options"></a>
81 <h4><em>Command Line Options</em></h4>
82 <hr>
83 <br>
84 The following D52 options do not apply to DZ80 or D48:
85 <br><br>
86 I option - add include pseudo-op for sfr52.inc header file.
87 <br>
88 K option - disassemble for Keil A51.
89 <br><br>
90 The T option (trace and analyze code) is still experimental in DZ80, and does
91 not exist at all in D48.
92 <br><br>
93
94 <a name="coption"></a>
95 <h4><em>C Option (disassemble CP/M .com file - DZ80)</em></h4>
96 Disassembles a CP/M .com executable file beginning at address 100H.
97 Use of this option will cause DZ80 to look for a file with a .com
98 extension, as opposed to a .bin or .hex extension. This option also
99 sets the offset to 100H without the need to do so with the -x option.
100 You do not need to use the -c option if you specify a filename with
101 a '.com' extension (ie: dz80 program.com). This option is compatible
102 withe the -80 and -85 options.
103
104 <a name="80option"></a>
105 <h4><em>80 Option (disassemble 8080 code - DZ80)</em></h4>
106 Disassembles code using 8080 opcodes instead of Z80 opcodes.
107
108 <a name="85option"></a>
109 <h4><em>85 Option (disassemble 8085 code - DZ80)</em></h4>
110 Disassembles code using 8085 opcodes instead of Z80 opcodes. The only
111 difference between -80 and -85 is that the 8085 has two additional
112 opcodes: rim and sim, which will be treated as invalid with the -80 option.
113
114 <a name="1option"></a>
115 <h4><em>1 Option (disassemble 8041 code - D48)</em></h4>
116 Disassembles code using 8041 opcodes instead of 8048 opcodes. (Note that
117 this is the digit 1, not the letter L.)
118
119 <a name="directives"></a>
120 <h4><em>Control File Directives</em></h4>
121 <hr>
122 <br>
123 The following control file directives do not apply to DZ80 or D48:
124 <br><br>
125 F directive - modify SFR name.<br>
126 K directive - modify SFR bit name.<br>
127 M directive - modify memory location name (different meaning in D48).<br>
128 R directive - modify register name (used in D48, but not DZ80).<br>
129
130 <a name="mdirective"></a>
131 <h4><em>M Directive (force memory bank selection - D48)</em></h4>
132
133 Forces code to be disassembled as if a sel mb0 or sel mb1 instruction had been
134 encountered, regardless of the actual state of the memory bank selection.
135
136 <br><br>
137 <a href="#topofdoc">Back to top</a><br>
138 <br><br><br><br>
139 </body>
140 </html>