An emulator, assembler, and disassembler for the Sega Game Gear
Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 
 

20 linhas
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]);