This repository has been archived on 2026-09-29. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
2026-07-04 09:22:42 +08:00

17 lines
421 B
C++

#ifndef R8ASM_MACRO
#define R8ASM_MACRO
#include "r8asm/r8asm_core.hh"
#include <vector>
struct R8Macro {
r8asm_argc argc = 0;
std::vector<R8Instruction> ins;
};
extern std::map<std::string, R8Macro> r8asm_macromap;
std::vector<R8Instruction>
r8asm_expand_single_macro(std::string macro_name, std::vector<R8Operand> argv);
std::vector<R8Instruction> r8asm_expand_macros(std::vector<R8Instruction> ins);
#endif