An emulator, assembler, and disassembler for the Sega Game Gear
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

29 lines
526 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_SYNTAX,
  7. ET_FILEIO
  8. } ASMErrorType;
  9. typedef enum {
  10. ED_INCLUDE_BAD_ARG,
  11. ED_FILE_READ_ERR
  12. } ASMErrorDesc;
  13. /* Strings */
  14. static const char *asm_error_types[] = {
  15. "invalid syntax",
  16. "file I/O"
  17. };
  18. static const char *asm_error_descs[] = {
  19. "bad argument passed to include directive",
  20. "couldn't read from file"
  21. };