#include "disasm.h"
#include "opcodes.h"
#include <stdio.h>
Go to the source code of this file.
|
| static const struct dmnem * | dlookup (uint8_t op) |
| |
| static void | fmt_addr (uint16_t field, char *buf, size_t n) |
| |
| int | ge_disasm_one (const uint8_t *mem, uint16_t addr, char *out, size_t outn) |
| |
| int | ge_disasm_window (const uint8_t *mem, uint16_t pc, int before, int after, char *out, size_t outn) |
| |
◆ NDTAB
| #define NDTAB ((int)(sizeof(DTAB) / sizeof(DTAB[0]))) |
◆ dfmt_t
| Enumerator |
|---|
| D_JU | |
| D_BRANCH | |
| D_REG | |
| D_IMM | |
| D_PER | |
| D_SS1 | |
| D_SS2 | |
Definition at line 6 of file disasm.c.
◆ dlookup()
| static const struct dmnem * dlookup |
( |
uint8_t |
op | ) |
|
|
static |
◆ fmt_addr()
| static void fmt_addr |
( |
uint16_t |
field, |
|
|
char * |
buf, |
|
|
size_t |
n |
|
) |
| |
|
static |
◆ ge_disasm_one()
| int ge_disasm_one |
( |
const uint8_t * |
mem, |
|
|
uint16_t |
addr, |
|
|
char * |
out, |
|
|
size_t |
outn |
|
) |
| |
◆ ge_disasm_window()
| int ge_disasm_window |
( |
const uint8_t * |
mem, |
|
|
uint16_t |
pc, |
|
|
int |
before, |
|
|
int |
after, |
|
|
char * |
out, |
|
|
size_t |
outn |
|
) |
| |
◆ DTAB
| const struct dmnem DTAB[] |
|
static |