home *** CD-ROM | disk | FTP | other *** search
/ Crawly Crypt Collection 1 / crawlyvol1.bin / program / compiler / reass_us / reass_65 / 6502info.doc < prev    next >
Text File  |  1994-04-18  |  5KB  |  144 lines

  1.                     ************************************
  2.                     * 8-bit CPU Reassembler package    *
  3.                     * incl. PurePASCAL GEM source code *
  4.                     ************************************
  5.  
  6. Program author :
  7.  
  8. Jens Schulz
  9. Rosenstrasse 5
  10. D-25368 Kiebitzreihe
  11. Germany
  12.  
  13. ****************************************************************************
  14.  
  15.            Reassembler package for these 8-bit CPU processors :
  16.            ----------------------------------------------------
  17.  
  18.        - INTEL 8051/52/252/535 microcontroller
  19.        - INTEL 8048 microcontroller series
  20.        - Zilog Z-80 CPU
  21.        - Mostek/Rockwell 6502-CPU
  22.        - Motorola 68HC11 microcontroller
  23.        - INTEL 8080/85-CPU
  24.  
  25. *****************************************************************************
  26.  
  27. System: ATARI ST/TT/FALCON
  28.         GEM / MultiTOS
  29.         screen resolution independent > 640*400 dots
  30.         requires 1 MB RAM
  31.  
  32. ****************************************************************************
  33.  
  34.                    These programs are Freeware
  35.  
  36. You can copy and swap these programs freely without any charge. Sale or
  37. use in any other software for profit is strict forbidden. It's free for
  38. BBS downloading and PD collections.
  39.  
  40. ***************************************************************************
  41.  
  42.                Special info for Mostek/Rockwell 6502
  43.                -------------------------------------
  44.  
  45.                       Symbolic reassembling
  46.                       ---------------------
  47.  
  48. Symbolic reassembling is only supported by the Z-80 and 6502 reassembler.
  49. Z80 and 6502 processor are often used for homecomputers, like C64 or
  50. Amstrad CPC 464.
  51.  
  52. For these homecomputers exist symbol tables of important ROM and port
  53. addresses.
  54.  
  55. Main differences between disassembler and reassembler decoding :
  56. ----------------------------------------------------------------
  57.  
  58.  - Disassembler : generates jumps/absolute addresses in hexadecimal
  59.                   terms, like LDA $12AE
  60.  
  61.  - Standard reassembler : generates jumps/absolute addresses in auto-
  62.                           matic labels, like LDA L12AE. Reassembler
  63.                           outputs are address inpendent for assemblers.
  64.  
  65.  - Symbolic reassembler : generates jumps/absolute addresses with your
  66.                           symbols, like LDA VALUE_1. You can find
  67.                           important ROM and port addresses much easier.
  68.  
  69. 1. Definition of symbols
  70. ------------------------
  71.  
  72.     - max. 2000 symbols are allowed
  73.     - max. symbol length = 8 characters
  74.  
  75. All symbols are written with a standard ASCII editor in an ASCII file.
  76. The ASCII file has the file extension .LBI. The symbol addresses must
  77. be specified in hexadecimal form.
  78.  
  79.     Symbol file example (6502.LBI):
  80.     -------------------------------
  81.  
  82.     POS_1=203
  83.     LOOP=20D
  84.     LOOP_1=214
  85.     SET_TST=219
  86.     PROC_1=223
  87.     PROC_2=22E
  88.     VALUE_1 = 68
  89.     VALUE_2 = 69
  90.  
  91. 2. Import of ASCII symbols :
  92. ----------------------------
  93.  
  94.    -> Menu Symbols, Import symbols
  95.  
  96.    Symbol file has the file extension .LBI. The reassembler imports this
  97.    file and sort it by address. Now you can use this symbols for your
  98.    next reassembler run.
  99.  
  100. 3. Generating of a symbol file
  101. ------------------------------
  102.  
  103. After the import of a symbol file, you can generate a compact label
  104. file. This label file stores all symbolic informations in a compact
  105. and sorted form. This label file will be loaded faster than a ASCII
  106. symbol list.
  107.  
  108. Label symbol files has the file extension .SYM.
  109.  
  110. 4. Load a symbol file
  111. ---------------------
  112.  
  113. The menu entry loads compact label symbol files with the file extension
  114. .SYM.
  115.  
  116. *****************************************************************************
  117.  
  118.                       Special keyboard shortcuts
  119.                       --------------------------
  120.  
  121.      Menu Symbols
  122.      ------------
  123.  
  124.      Load symbols             Control U
  125.      Import symbols           Control I
  126.      Genaerate symbol file    Control E
  127.      Show symbols             Key F3
  128.  
  129. *****************************************************************************
  130.  
  131.                  Standard ORG address of 6502 reassembler
  132.                  ----------------------------------------
  133.  
  134. The 6502 reassembler uses the address $0200 as standard base address.
  135. All other assemblers uses the address $0000 for start.
  136.  
  137. The address space $0000 to $01FF is used for the 6502 zeropage and
  138. the stack.
  139.  
  140. *****************************************************************************
  141.  
  142. Jens Schulz
  143. 18th april 1994
  144.