mirror of
https://github.com/Decompollaborate/rabbitizer.git
synced 2024-12-28 15:17:59 +00:00
19 lines
489 B
Plaintext
19 lines
489 B
Plaintext
/* SPDX-FileCopyrightText: © 2023-2024 Decompollaborate */
|
|
/* SPDX-License-Identifier: MIT */
|
|
|
|
from __future__ import annotations
|
|
|
|
from .Enum import Enum
|
|
|
|
#define RABBITIZER_DEF_REG(prefix, name, numeric, ...) \
|
|
name: Enum
|
|
|
|
#define RABBITIZER_DEF_REG_NODOLLAR(prefix, name, numeric, ...) \
|
|
RABBITIZER_DEF_REG(prefix, name, numeric, __VA_ARGS__)
|
|
|
|
class RegGprN32:
|
|
#include "registers/RabbitizerRegister_GprN32.inc"
|
|
|
|
#undef RABBITIZER_DEF_REG_NODOLLAR
|
|
#undef RABBITIZER_DEF_REG
|