An emulator, assembler, and disassembler for the Sega Game Gear
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 
 
 

30 lignes
1000 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 <stdbool.h>
  5. #include <stdint.h>
  6. #include "inst_args.h"
  7. #include "state.h"
  8. #define dparse__Bool dparse_bool
  9. /* Functions */
  10. bool parse_bool(bool*, const char*, ssize_t);
  11. bool parse_uint32_t(uint32_t*, const char*, ssize_t);
  12. bool parse_string(char**, size_t*, const char*, ssize_t);
  13. bool parse_bytes(uint8_t**, size_t*, const char*, ssize_t);
  14. bool parse_register(ASMArgRegister*, const char*, ssize_t);
  15. bool dparse_bool(bool*, const ASMLine*, const char*);
  16. bool dparse_uint32_t(uint32_t*, const ASMLine*, const char*);
  17. bool dparse_uint16_t(uint16_t*, const ASMLine*, const char*);
  18. bool dparse_uint8_t(uint8_t*, const ASMLine*, const char*);
  19. bool dparse_rom_size(uint32_t*, const ASMLine*, const char*);
  20. bool dparse_region_string(uint8_t*, const ASMLine*, const char*);
  21. bool dparse_size_code(uint8_t*, const ASMLine*, const char*);