rizin/librz/arch/isa/amd29k/amd29k_internal.h
wargio d47ceedbd3 Merge rz_asm and rz_analysis into one library but keep deprecated apis.
The tms320c64x has been merged into tms320.
2024-03-07 18:38:49 +08:00

25 lines
612 B
C

// SPDX-FileCopyrightText: 2019 deroad <wargio@libero.it>
// SPDX-License-Identifier: LGPL-3.0-only
#ifndef ASM_AMD_29K_INTERNAL_H
#define ASM_AMD_29K_INTERNAL_H
typedef void (*amd29k_decode)(amd29k_instr_t *instruction, const unsigned char *buffer);
typedef void (*amd29k_encode)(amd29k_instr_t *instruction, char *assembly);
typedef struct amd29k_instruction_s {
const char *cpu;
const char *mnemonic;
ut64 op_type;
ut8 mask;
amd29k_decode decode;
amd29k_encode encode;
} amd29k_instruction_t;
enum amd29k_types {
AMD29K_TYPE_UNK = 0,
AMD29K_TYPE_REG,
AMD29K_TYPE_IMM,
AMD29K_TYPE_JMP,
};
#endif