Rizin
unix-like reverse engineering framework and cli tools
asm_i4004.c File Reference
#include <rz_types.h>
#include <rz_util.h>
#include <rz_asm.h>
#include <rz_lib.h>
#include "../arch/i4004/i4004dis.c"

Go to the source code of this file.

Functions

static int disassemble (RzAsm *a, RzAsmOp *op, const ut8 *buf, int len)
 

Variables

RzAsmPlugin rz_asm_plugin_i4004
 
RZ_API RzLibStruct rizin_plugin
 

Function Documentation

◆ disassemble()

static int disassemble ( RzAsm a,
RzAsmOp op,
const ut8 buf,
int  len 
)
static

Definition at line 11 of file asm_i4004.c.

11  {
12  return i4004dis(op, buf, len);
13 }
size_t len
Definition: 6502dis.c:15
static int i4004dis(RzAsmOp *op, const ut8 *buf, int len)
Definition: i4004dis.c:61
voidpf void * buf
Definition: ioapi.h:138
Definition: dis.c:32

References i4004dis(), and len.

Variable Documentation

◆ rizin_plugin

RZ_API RzLibStruct rizin_plugin
Initial value:
= {
.type = RZ_LIB_TYPE_ASM,
}
RzAsmPlugin rz_asm_plugin_i4004
Definition: asm_i4004.c:15
@ RZ_LIB_TYPE_ASM
Definition: rz_lib.h:72
#define RZ_VERSION
Definition: rz_version.h:8
const char * version
Definition: rz_asm.h:133

Definition at line 26 of file asm_i4004.c.

◆ rz_asm_plugin_i4004

RzAsmPlugin rz_asm_plugin_i4004
Initial value:
= {
.name = "i4004",
.desc = "Intel 4004 microprocessor",
.arch = "i4004",
.license = "LGPL3",
.bits = 4,
.endian = RZ_SYS_ENDIAN_NONE,
.disassemble = &disassemble
}
static int disassemble(RzAsm *a, RzAsmOp *op, const ut8 *buf, int len)
Definition: asm_i4004.c:11
#define RZ_SYS_ENDIAN_NONE
Definition: rz_types.h:525

Definition at line 15 of file asm_i4004.c.