#include <desa68.h>
The DESA68parm_t data structure contains the information necessary to disassemble 68K instructions.
There are 3 categories of fields in this structure.
Data Fields | |
Input parameters. | |
unsigned char * | mem |
Base of 68K memory. | |
unsigned int | memmsk |
Size of memory - 1 (mask). | |
unsigned int | pc |
Address (Offset in mem) of instruction to disassemble; Returns with the address of the next instruction. | |
int | flags |
Disassemble options | |
char * | str |
Destination string. | |
int | strmax |
Destination string buffer size. | |
unsigned int | immsym_min |
Minimum value to interpret long immediat or absolute long as symbol. | |
unsigned int | immsym_max |
Maximum value to interpret long immediat or absolute long as symbol. | |
Output parameters. | |
unsigned int | ea_src |
Effective address of source operand (-1:not a memory operand). | |
unsigned int | ea_dst |
Effective address of destiantion operand (-1:not a memory operand). | |
unsigned int | status |
disassembly instruction flags | |
unsigned int | branch |
Branch or interrupt vector address. | |
int | w |
Last decoded word (16 bit sign extended). | |
char * | s |
Pointer to current destination char. | |
Miscellaneous internal variables. | |
For internal use only.
| |
int | reg0 |
Intermediat opcode decoding. | |
int | reg9 |
Intermediat opcode decoding. | |
int | mode3 |
Intermediat opcode decoding. | |
int | mode6 |
Intermediat opcode decoding. | |
int | opsz |
Intermediat opcode decoding. | |
int | line |
Intermediat opcode decoding. | |
int | adrmode0 |
Intermediat opcode decoding. | |
int | adrmode6 |
Intermediat opcode decoding. | |
int | szchar |
Intermediat opcode decoding. | |
unsigned int | ea |
Intermediat opcode decoding. |
unsigned char* DESA68parm_t::mem |
Base of 68K memory.
unsigned int DESA68parm_t::memmsk |
Size of memory - 1 (mask).
char* DESA68parm_t::str |
Destination string.
Destination string buffer size.
unsigned int DESA68parm_t::immsym_min |
Minimum value to interpret long immediat or absolute long as symbol.
unsigned int DESA68parm_t::immsym_max |
Maximum value to interpret long immediat or absolute long as symbol.
unsigned int DESA68parm_t::ea_src |
Effective address of source operand (-1:not a memory operand).
unsigned int DESA68parm_t::ea_dst |
Effective address of destiantion operand (-1:not a memory operand).
Effective address of destination operand
unsigned int DESA68parm_t::branch |
Branch or interrupt vector address.
If the dissassembled instruction was a branch a call or a sotfware interrupt the DESA68parm_t::branch is set to the jump address or the interrupt vector involved.
int DESA68parm_t::w |
Last decoded word (16 bit sign extended).
char* DESA68parm_t::s |
Pointer to current destination char.
Intermediat opcode decoding.
Intermediat opcode decoding.
Intermediat opcode decoding.
Intermediat opcode decoding.
Intermediat opcode decoding.
Intermediat opcode decoding.
Intermediat opcode decoding.
Intermediat opcode decoding.
Intermediat opcode decoding.
unsigned int DESA68parm_t::ea |
Intermediat opcode decoding.