An emulator, assembler, and disassembler for the Sega Game Gear
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 
 
 
 

35 行
683 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_BAD_ARG,
  11. ED_RECURSION,
  12. ED_FILE_READ_ERR,
  13. ED_UNKNOWN_DIRECTIVE,
  14. ED_MULTI_DIRECTIVE
  15. } ASMErrorDesc;
  16. /* Strings */
  17. static const char *asm_error_types[] = {
  18. "include directive",
  19. "preprocessor"
  20. };
  21. static const char *asm_error_descs[] = {
  22. "missing or invalid argument",
  23. "infinite recursion detected",
  24. "couldn't read included file",
  25. "unknown directive",
  26. "multiple values for directive"
  27. };