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.
 
 
 
 
 

33 Zeilen
627 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. /* Enums */
  5. typedef enum {
  6. ET_INCLUDE,
  7. ET_PREPROCESSOR
  8. } ASMErrorType;
  9. typedef enum {
  10. ED_BAD_ARG,
  11. ED_RECURSION,
  12. ED_FILE_READ_ERR,
  13. ED_UNKNOWN_DIRECTIVE
  14. } ASMErrorDesc;
  15. /* Strings */
  16. static const char *asm_error_types[] = {
  17. "include directive",
  18. "preprocessor"
  19. };
  20. static const char *asm_error_descs[] = {
  21. "missing or invalid argument",
  22. "infinite recursion detected",
  23. "couldn't read included file",
  24. "unknown directive"
  25. };