mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-08 14:58:54 +00:00
34 lines
670 B
C
34 lines
670 B
C
/* radare2 - LGPL - Copyright 2013-2019 - pancake, astuder */
|
|
|
|
#include <stdio.h>
|
|
#include <stdarg.h>
|
|
#include <string.h>
|
|
#include <r_types.h>
|
|
#include <r_util.h>
|
|
#include <r_lib.h>
|
|
#include <r_asm.h>
|
|
|
|
#include <8051_ass.h>
|
|
|
|
RAsmPlugin r_asm_plugin_8051 = {
|
|
.name = "8051",
|
|
.arch = "8051",
|
|
.bits = 8,
|
|
.endian = R_SYS_ENDIAN_NONE,
|
|
.desc = "8051 Intel CPU",
|
|
// .disassemble = &disassemble,
|
|
.assemble = &assemble_8051,
|
|
.license = "PD",
|
|
.cpus =
|
|
"8051-generic," // First one is default
|
|
"8051-shared-code-xdata"
|
|
};
|
|
|
|
#ifndef R2_PLUGIN_INCORE
|
|
R_API RLibStruct radare_plugin = {
|
|
.type = R_LIB_TYPE_ASM,
|
|
.data = &r_asm_plugin_8051,
|
|
.version = R2_VERSION
|
|
};
|
|
#endif
|