An emulator, assembler, and disassembler for the Sega Game Gear
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 
 
 
 

41 satır
796 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_PREPROC
  8. } ASMErrorType;
  9. typedef enum {
  10. ED_INC_BAD_ARG,
  11. ED_INC_RECURSION,
  12. ED_INC_FILE_READ,
  13. ED_PP_UNKNOWN,
  14. ED_PP_DUPLICATE,
  15. ED_PP_NO_ARG,
  16. ED_PP_BAD_ARG
  17. } ASMErrorDesc;
  18. /* Strings */
  19. static const char *asm_error_types[] = {
  20. "include directive",
  21. "preprocessor"
  22. };
  23. static const char *asm_error_descs[] = {
  24. "missing or invalid argument",
  25. "infinite recursion detected",
  26. "couldn't read included file",
  27. "unknown directive",
  28. "multiple values for directive",
  29. "missing argument for directive",
  30. "invalid argument for directive"
  31. };