sc68fordevelopers
2.2.1
|
68K disassemble pass parameters. More...
#include <desa68.h>
Data Fields | |
Input parameters. | |
These parameters must be set before calling the desa68() functions. | |
unsigned char * | mem |
Base of 68K memory. More... | |
unsigned int | memmsk |
Size of memory - 1 (mask). More... | |
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. More... | |
int | strmax |
Destination string buffer size. More... | |
unsigned int | immsym_min |
Minimum value to interpret long immediat or absolute long as symbol. More... | |
unsigned int | immsym_max |
Maximum value to interpret long immediat or absolute long as symbol. More... | |
Output parameters. | |
These parameters are setted by the desa68() functions. | |
unsigned int | ea_src |
Effective address of source operand (-1:not a memory operand). More... | |
unsigned int | ea_dst |
Effective address of destiantion operand (-1:not a memory operand). More... | |
unsigned int | status |
disassembly instruction flags | |
unsigned int | branch |
Branch or interrupt vector address. More... | |
int | w |
Last decoded word (16 bit sign extended). More... | |
char * | s |
Pointer to current destination char. More... | |
Miscellaneous internal variables. | |
int | reg0 |
Intermediat opcode decoding. More... | |
int | reg9 |
Intermediat opcode decoding. More... | |
int | mode3 |
Intermediat opcode decoding. More... | |
int | mode6 |
Intermediat opcode decoding. More... | |
int | opsz |
Intermediat opcode decoding. More... | |
int | line |
Intermediat opcode decoding. More... | |
int | adrmode0 |
Intermediat opcode decoding. More... | |
int | adrmode6 |
Intermediat opcode decoding. More... | |
int | szchar |
Intermediat opcode decoding. More... | |
unsigned int | ea |
Intermediat opcode decoding. More... | |
68K disassemble pass parameters.
The DESA68parm_t data structure contains the information necessary to disassemble 68K instructions.
There are 3 categories of fields in this structure.
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.
int DESA68parm_t::strmax |
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.
int DESA68parm_t::reg0 |
Intermediat opcode decoding.
int DESA68parm_t::reg9 |
Intermediat opcode decoding.
int DESA68parm_t::mode3 |
Intermediat opcode decoding.
int DESA68parm_t::mode6 |
Intermediat opcode decoding.
int DESA68parm_t::opsz |
Intermediat opcode decoding.
int DESA68parm_t::line |
Intermediat opcode decoding.
int DESA68parm_t::adrmode0 |
Intermediat opcode decoding.
int DESA68parm_t::adrmode6 |
Intermediat opcode decoding.
int DESA68parm_t::szchar |
Intermediat opcode decoding.
unsigned int DESA68parm_t::ea |
Intermediat opcode decoding.