home *** CD-ROM | disk | FTP | other *** search
-
- Instructions for Amiga memory disassembler
- Copyright 1986 by LMR Software
-
- 8663 Ida Lane
- Sandy, UT 84092
- (801) 974-0992
-
- This program is begining distrubuted as is to anyone who wants it. Any
- comments would be appreciated. Donations ($15) would be appreciated if
- you think this is useful to you. I would like to fix this up and make
- it more useful, any encouragement would be helpful.
-
- Comments can be left on the Techni-Soft bulliten board at (801)
- 264-8290 or by call me at the above number.
-
- Type disassem to enter the program. No paramaters are required.
-
- Valid commands are listed in the table below. Commands may be specified
- by their full names or any portion thereof.
-
- The minimum that can be entered is the characters that are in upper case
- in the table. The command table can be listed with the Help command.
-
- Commands are:
- Help print command formats
- EXIT exit to
- Mem dump memory contents in hex and ascii
- List list disassemble instruction from memory
- DUAL open a second channel for dual output
-
- Display commands (mem/list) may have optional parameters.
- Options are starting address followed by either a count or end address.
- Preceede a count value with a +.
- These commands may be continued from where they stop by giving the command
- again or simply by hitting the space bar. These are repeat type commands.
-
- Dual is used to open a second output channel so that the data can be
- saved for later use.
-
- Example: dual ram:dis.out
-
- will open a file on the ram disk called dis.out and send a copy
- of the output there. The output can be turned off by entering
- dual off. It can be turned on later with just a dual on command.
- This can be done while you look around for more interesting
- stuff to save. Commands are not written to the output.
-
- For some reason the prt: device cannot be open for the second channel.
- So for now use a disk file and then print it.
-
- If you use a disk file you can also edit it and add comments before
- you print it.
-
- Comments can also be sent to the output file by preceding the line
- with a semicolon.
-
- I have included a sample output from the disassembler in file "exec.lvo".
- This file has all of the LVO jump's for Amiga exec program. It also
- has all the data from the ExecBase structure.
-
- All input numbers default to hex.
-
- To specify a decimal number preceede it with a . (decimal point)
-
- Valid numbers are as follows:
- $nn - $ symbol for hex number ala assembly
- 0xnn - 0x for hex number ala 'C'
- .nn - preceding decimal point for decimal numbers
- 'cc' - ascii char inside single quotes
- any numbers not preceded by one of the above must start with a digit(0-9)
-
-
- Numbers may be a complex expression if desired, with parenthesis and the
- following operators:
- | - bitwise OR
- & - bitwise AND
- ^ - bitwise XOR
- + - sum
- - - difference
- * - multiply
- / - divide
- % - modulo
- - - unary minus
- ~ - unary not
- * - unary pointer( uses number at expression )
-
- All operators obey normal precedence rules as defined by 'C'
-
- example: m *(*4+114)
-
- will display the memory for the task control block of the currently
- running task.
-
- I hope you find this program useful...
-
- Lee M. Robertson
-
-