home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Crawly Crypt Collection 1
/
crawlyvol1.bin
/
program
/
compiler
/
reass_us
/
reass_65
/
6502info.doc
< prev
next >
Wrap
Text File
|
1994-04-18
|
5KB
|
144 lines
************************************
* 8-bit CPU Reassembler package *
* incl. PurePASCAL GEM source code *
************************************
Program author :
Jens Schulz
Rosenstrasse 5
D-25368 Kiebitzreihe
Germany
****************************************************************************
Reassembler package for these 8-bit CPU processors :
----------------------------------------------------
- INTEL 8051/52/252/535 microcontroller
- INTEL 8048 microcontroller series
- Zilog Z-80 CPU
- Mostek/Rockwell 6502-CPU
- Motorola 68HC11 microcontroller
- INTEL 8080/85-CPU
*****************************************************************************
System: ATARI ST/TT/FALCON
GEM / MultiTOS
screen resolution independent > 640*400 dots
requires 1 MB RAM
****************************************************************************
These programs are Freeware
You can copy and swap these programs freely without any charge. Sale or
use in any other software for profit is strict forbidden. It's free for
BBS downloading and PD collections.
***************************************************************************
Special info for Mostek/Rockwell 6502
-------------------------------------
Symbolic reassembling
---------------------
Symbolic reassembling is only supported by the Z-80 and 6502 reassembler.
Z80 and 6502 processor are often used for homecomputers, like C64 or
Amstrad CPC 464.
For these homecomputers exist symbol tables of important ROM and port
addresses.
Main differences between disassembler and reassembler decoding :
----------------------------------------------------------------
- Disassembler : generates jumps/absolute addresses in hexadecimal
terms, like LDA $12AE
- Standard reassembler : generates jumps/absolute addresses in auto-
matic labels, like LDA L12AE. Reassembler
outputs are address inpendent for assemblers.
- Symbolic reassembler : generates jumps/absolute addresses with your
symbols, like LDA VALUE_1. You can find
important ROM and port addresses much easier.
1. Definition of symbols
------------------------
- max. 2000 symbols are allowed
- max. symbol length = 8 characters
All symbols are written with a standard ASCII editor in an ASCII file.
The ASCII file has the file extension .LBI. The symbol addresses must
be specified in hexadecimal form.
Symbol file example (6502.LBI):
-------------------------------
POS_1=203
LOOP=20D
LOOP_1=214
SET_TST=219
PROC_1=223
PROC_2=22E
VALUE_1 = 68
VALUE_2 = 69
2. Import of ASCII symbols :
----------------------------
-> Menu Symbols, Import symbols
Symbol file has the file extension .LBI. The reassembler imports this
file and sort it by address. Now you can use this symbols for your
next reassembler run.
3. Generating of a symbol file
------------------------------
After the import of a symbol file, you can generate a compact label
file. This label file stores all symbolic informations in a compact
and sorted form. This label file will be loaded faster than a ASCII
symbol list.
Label symbol files has the file extension .SYM.
4. Load a symbol file
---------------------
The menu entry loads compact label symbol files with the file extension
.SYM.
*****************************************************************************
Special keyboard shortcuts
--------------------------
Menu Symbols
------------
Load symbols Control U
Import symbols Control I
Genaerate symbol file Control E
Show symbols Key F3
*****************************************************************************
Standard ORG address of 6502 reassembler
----------------------------------------
The 6502 reassembler uses the address $0200 as standard base address.
All other assemblers uses the address $0000 for start.
The address space $0000 to $01FF is used for the 6502 zeropage and
the stack.
*****************************************************************************
Jens Schulz
18th april 1994