// SPDX-FileCopyrightText: 2019 pancake <pancake@nopcode.org>
// SPDX-License-Identifier: LGPL-3.0-only

#include <rz_types.h>
#include <rz_lib.h>
#include <rz_asm.h>
#include "asm_private.h"

static int disassemble(const RzAsm *a, RzAsmOp *op, const ut8 *buf, int len) {
	int opsz = 0;
	rz_strbuf_set(&op->buf_asm, "");
	op->size = opsz;
	return opsz;
}

static int assemble(const RzAsm *a, RzAsmOp *op, const char *buf) {
	return 0;
}

RzAsmPlugin rz_asm_plugin_null = {
	.name = "null",
	.author = "pancake",
	.version = "1.0.0",
	.arch = "null",
	.license = "MIT",
	.bits = 16 | 32 | 64,
	.endian = RZ_SYS_ENDIAN_NONE,
	.desc = "NULL (empty) disassembler",
	.disassemble = &disassemble,
	.assemble = &assemble
};
