sc68fordevelopers  2.2.1
Data Structures | Functions
desa68.h File Reference

Motorola 68K disassembler. More...

Go to the source code of this file.

Data Structures

struct  DESA68parm_t
 68K disassemble pass parameters. More...
 

Macros

Disassembly option flags.

Use bitwise OR operation with these values to set the the DESA68parm_t::flags in order to configure the disassembler.

#define DESA68_SYMBOL_FLAG   (1<<0)
 Disassemble with symbol. More...
 
Instruction type flags.

These flags are setted in the DESA68parm_t::status field by desa68() function. It allow to determine the type of the dissassembled instruction.

#define DESA68_INST   (1<<0)
 Valid instruction. More...
 
#define DESA68_BRA   (1<<1)
 Branch always instruction (bra/jmp/dbcc). More...
 
#define DESA68_BSR   (1<<2)
 Subroutine (bsr/jsr)/ Conditionnal branch instruction (bcc/dbcc). More...
 
#define DESA68_RTS   (1<<3)
 Return from subroutine/Interruption instruction (rts/rte). More...
 
#define DESA68_INT   (1<<4)
 Software interrupt instruction (trap/chk). More...
 
#define DESA68_NOP   (1<<5)
 nop instruction. More...
 

Functions

void desa68 (DESA68parm_t *d)
 Disassemble a single 68000 instruction. More...
 

Detailed Description

Motorola 68K disassembler.

Author
Benjamin Gerard ben@s.nosp@m.ashi.nosp@m.pa.co.nosp@m.m
Date
17/03/1999
Id
desa68.h,v 2.3 2003/08/26 23:14:02 benjihan Exp