Newer
Older
Scratch / mobius / src / drivers / kdebug / disasm.h
@Christopher W. Olsen Christopher W. Olsen on 25 Oct 2019 560 bytes Scratch
/* disasm.h   header file for disasm.c
 *
 * The Netwide Assembler is copyright (C) 1996 Simon Tatham and
 * Julian Hall. All rights reserved. The software is
 * redistributable under the licence given in the file "Licence"
 * distributed in the NASM archive.
 */

#ifndef NASM_DISASM_H
#define NASM_DISASM_H

#define INSN_MAX 32	/* one instruction can't be longer than this */

long disasm (unsigned char *data, wchar_t *output, int segsize, long offset,
	     int autosync, unsigned long prefer);
long eatbyte (unsigned char *data, wchar_t *output);

#endif