|
ReactOS 0.4.17-dev-243-g1369312
|

Go to the source code of this file.
Classes | |
| struct | IDENTIFIER |
Macros | |
| #define | PROFILING_ENABLED 0 |
| #define | FOLLOWED_BY(x) x |
| #define | ANY_CHAR R"((?:.|\n))" |
| #define | WHITESPACE R"((?:[ \t]++))" |
| #define | NEWLINE R"([\n])" |
| #define | WS_OR_NL R"((?:)" WHITESPACE "|" NEWLINE R"()+)" |
| #define | SEPARATOR R"([\s,\=\+\-\*\/\:\~\[\]])" |
| #define | INSTRUCTION |
Enumerations | |
| enum | TOKEN_TYPE { Invalid = -1 , Eof , WhiteSpace , NewLine , Comment , DecNumber , HexNumber , String , BraceOpen , BraceClose , MemRefStart , MemRefEnd , Colon , Operator , StringDef , KW_include , KW_const , KW_code , KW_endprolog , KW_ALIGN , KW_EXTERN , KW_PUBLIC , KW_ENDM , KW_END , KW_if , KW_ifdef , KW_ifndef , KW_else , KW_endif , KW_allocstack , KW_savereg , KW_savexmm128 , KW_DB , KW_DW , KW_DD , KW_DQ , KW_EQU , KW_TEXTEQU , KW_MACRO , KW_PROC , KW_FRAME , KW_ENDP , KW_RECORD , KW_MASK , KW_ERRDEF , Filename , Instruction , Reg8 , Reg16 , Reg32 , Reg64 , RegXmm , BYTE_PTR , WORD_PTR , DWORD_PTR , QWORD_PTR , XMMWORD_PTR , LabelName , Identifier } |
| enum class | IDTYPE { Memory , Register , Label , Constant , Macro , Instruction , String , Unknown } |
Variables | |
| time_t | search_time |
| vector< TOKEN_DEF > | g_TokenList |
| unsigned int | g_label_number = 0 |
| bool | g_processing_jmp = false |
| vector< bool > | g_proc_frame_stack |
| vector< IDENTIFIER > | g_identifiers |
| static bool | g_intel_syntax_emitted = false |
Definition at line 28 of file asmpp.cpp.
Definition at line 325 of file asmpp.cpp.
Referenced by add_mem_id(), and translate_identifier_construct().
Definition at line 332 of file asmpp.cpp.
Referenced by translate_construct(), and translate_identifier_construct().
Definition at line 492 of file asmpp.cpp.
Referenced by translate_construct().
Definition at line 1014 of file asmpp.cpp.
Referenced by translate_identifier_construct().
| Token get_expected_token | ( | Token && | tok, |
| TOKEN_TYPE | type | ||
| ) |
Definition at line 385 of file asmpp.cpp.
Referenced by translate_construct(), translate_identifier_construct(), and translate_record().
Definition at line 364 of file asmpp.cpp.
Referenced by translate_expression().
Definition at line 395 of file asmpp.cpp.
Referenced by translate_construct_one_param(), translate_data_def(), and translate_identifier_construct().
Definition at line 352 of file asmpp.cpp.
Referenced by get_expression_operator(), and is_jmp_or_call().
Definition at line 714 of file asmpp.cpp.
Referenced by translate_instruction().
Definition at line 338 of file asmpp.cpp.
Referenced by translate_instruction_param().
Definition at line 611 of file asmpp.cpp.
Referenced by translate_rip_relative_offset().
Definition at line 418 of file asmpp.cpp.
Referenced by translate_instruction_param(), and translate_token().
hosttype.c Copyright (C) 2002 by Brian Palmer brian.nosp@m.p@sg.nosp@m.inet..nosp@m.com
Definition at line 1355 of file asmpp.cpp.
Definition at line 1333 of file asmpp.cpp.
Referenced by main().
| size_t translate_construct | ( | TokenList & | tokens, |
| size_t | index, | ||
| const vector< string > & | macro_params | ||
| ) |
Definition at line 1149 of file asmpp.cpp.
Referenced by translate(), and translate_macro().
| size_t translate_construct_one_param | ( | string | translated, |
| TokenList & | tokens, | ||
| size_t | index, | ||
| const vector< string > & | macro_params | ||
| ) |
Definition at line 923 of file asmpp.cpp.
Referenced by translate_construct().
| size_t translate_data_def | ( | TokenList & | tokens, |
| size_t | index, | ||
| const vector< string > & | macro_params | ||
| ) |
Definition at line 832 of file asmpp.cpp.
Referenced by translate_construct(), and translate_identifier_construct().
| size_t translate_expression | ( | TokenList & | tokens, |
| size_t | index, | ||
| const vector< string > & | macro_params | ||
| ) |
Definition at line 509 of file asmpp.cpp.
Referenced by translate_construct(), translate_construct_one_param(), translate_identifier_construct(), and translate_instruction_param().
| size_t translate_identifier_construct | ( | TokenList & | tokens, |
| size_t | index, | ||
| const vector< string > & | macro_params | ||
| ) |
Definition at line 1038 of file asmpp.cpp.
Referenced by translate_construct().
| size_t translate_instruction | ( | TokenList & | tokens, |
| size_t | index, | ||
| const vector< string > & | macro_params | ||
| ) |
Definition at line 734 of file asmpp.cpp.
Referenced by translate_construct(), and translate_identifier_construct().
| size_t translate_instruction_param | ( | TokenList & | tokens, |
| size_t | index, | ||
| const vector< string > & | macro_params | ||
| ) |
Definition at line 658 of file asmpp.cpp.
Referenced by translate_instruction().
Definition at line 778 of file asmpp.cpp.
Referenced by translate_data_def(), and translate_list().
Definition at line 793 of file asmpp.cpp.
Definition at line 1280 of file asmpp.cpp.
Referenced by translate().
| size_t translate_mem_ref | ( | TokenList & | tokens, |
| size_t | index, | ||
| const vector< string > & | macro_params | ||
| ) |
Definition at line 576 of file asmpp.cpp.
Referenced by translate_instruction_param().
Definition at line 933 of file asmpp.cpp.
Referenced by translate_identifier_construct().
|
static |
Definition at line 632 of file asmpp.cpp.
Referenced by translate_instruction_param().
Definition at line 432 of file asmpp.cpp.
Referenced by complete_line(), translate_construct(), translate_data_def(), translate_expression(), translate_instruction(), translate_instruction_param(), translate_item(), translate_list(), translate_macro(), translate_mem_ref(), and translate_rip_relative_offset().
| vector<IDENTIFIER> g_identifiers |
Definition at line 321 of file asmpp.cpp.
Referenced by add_identifier(), and is_mem_id().
Definition at line 1146 of file asmpp.cpp.
Referenced by translate_construct().
Definition at line 297 of file asmpp.cpp.
Referenced by translate_identifier_construct().
Definition at line 301 of file asmpp.cpp.
Referenced by translate_identifier_construct().
Definition at line 299 of file asmpp.cpp.
Referenced by translate_instruction(), and translate_instruction_param().
| time_t search_time |
Definition at line 26 of file asmpp.cpp.
Referenced by main(), and Tokenizer::match().