DESA68parm_t Struct Reference
[desa68 library documentation.]

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.
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.
These parameters are setted by the desa68() functions.

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.


Detailed Description

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.

Note:
The DESA68parm_t::pc field is both input and output since it is use to set the address of the instruction to decode and returns with the value of the next one.

Field Documentation

unsigned char* DESA68parm_t::mem

Base of 68K memory.

unsigned int DESA68parm_t::memmsk

Size of memory - 1 (mask).

Destination string.

Destination string buffer size.

Warning:
Unused

Minimum value to interpret long immediat or absolute long as symbol.

See also:
DESA68_SYMBOL_FLAG for more details

immsym_max

Maximum value to interpret long immediat or absolute long as symbol.

See also:
DESA68_SYMBOL_FLAG for more details

immsym_min

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.

See also:
status for more information on instruction type.

Last decoded word (16 bit sign extended).

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.


The documentation for this struct was generated from the following file:

Generated on Wed Feb 25 08:40:47 2009 for sc68fordevelopers by  doxygen 1.5.8