An emulator, assembler, and disassembler for the Sega Game Gear
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
 
 
 
 
 

20 рядки
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]);