An emulator, assembler, and disassembler for the Sega Game Gear
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
 
 
 
 
 

20 Zeilen
437 B

  1. /* Copyright (C) 2014-2015 Ben Kurtovic <ben.kurtovic@gmail.com>
  2. Released under the terms of the MIT License. See LICENSE for details. */
  3. #pragma once
  4. #include <stdint.h>
  5. #include "errors.h"
  6. #define MIN_MNEMONIC_SIZE 2
  7. #define MAX_MNEMONIC_SIZE 4
  8. /* Typedefs */
  9. typedef ASMErrorDesc (*ASMInstParser)(uint8_t**, size_t*, char**, const char*, size_t);
  10. /* Functions */
  11. ASMInstParser get_inst_parser(char[MAX_MNEMONIC_SIZE + 1]);