diff options
Diffstat (limited to 'asm/parse.cpp')
-rw-r--r-- | asm/parse.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/asm/parse.cpp b/asm/parse.cpp index 8f6f831..28e79f3 100644 --- a/asm/parse.cpp +++ b/asm/parse.cpp @@ -20,6 +20,13 @@ namespace { "dl", "dh", }; + std::unordered_set<std::string> reg16 { + "ax", "sp", + "bx", "bp", + "cx", "si", + "dx", "di", + }; + std::unordered_set<std::string> reg32 { "eax", "esp", "ebx", "ebp", |