desa68.h File Reference
Detailed Description
Motorola 68K disassembler.
- Author:
- Benjamin Gerard <ben@sashipa.com>
- Date:
- 17/03/1999
- Id
- desa68.h,v 2.3 2003/08/26 23:14:02 benjihan Exp
Go to the source code of this file.
|
Data Structures |
| struct | DESA68parm_t |
| | 68K disassemble pass parameters. More...
|
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.
|
| #define | DESA68_ASCII_FLAG (1<<1) |
| | Disassemble with ascii char.
|
| #define | DESA68_FORCESYMB_FLAG (1<<8) |
| | Force symbol disassemble.
|
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.
|
|
#define | DESA68_BRA (1<<1) |
| | Branch always instruction (bra/jmp/dbcc).
|
|
#define | DESA68_BSR (1<<2) |
| | Subroutine (bsr/jsr)/ Conditionnal branch instruction (bcc/dbcc).
|
|
#define | DESA68_RTS (1<<3) |
| | Return from subroutine/Interruption instruction (rts/rte).
|
|
#define | DESA68_INT (1<<4) |
| | Software interrupt instruction (trap/chk).
|
|
#define | DESA68_NOP (1<<5) |
| | nop instruction.
|
Functions |
| void | desa68 (DESA68parm_t *d) |
| | Disassemble a single 68000 instruction.
|
|