~ppsspp/ppsspp/armips

« back to all changes in this revision

Viewing changes to Core/Assembler.h

  • Committer: Sérgio Benjamim
  • Date: 2016-01-06 06:20:33 UTC
  • Revision ID: sergio_br2@yahoo.com.br-20160106062033-47f4u4kvedy9cid4
Sync, 23cd57f.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#pragma once
2
 
#include "../Util/CommonClasses.h"
3
2
#include "../Util/FileClasses.h"
4
3
#include "../Util/Util.h"
5
4
#include "FileManager.h"
12
11
        int value;
13
12
};
14
13
 
 
14
struct EquationDefinition
 
15
{
 
16
        std::wstring name;
 
17
        std::wstring value;
 
18
};
 
19
 
15
20
struct ArmipsArguments
16
21
{
17
22
        // common
20
25
        bool errorOnWarning;
21
26
        bool silent;
22
27
        StringList* errorsResult;
23
 
        StringList equList;
 
28
        std::vector<EquationDefinition> equList;
24
29
        std::vector<LabelDefinition> labels;
25
30
 
26
31
        // file mode
42
47
};
43
48
 
44
49
bool runArmips(ArmipsArguments& arguments);
45
 
void parseMacroDefinition(TextFile& Input, std::wstring& Args);
46
 
void LoadAssemblyFile(const std::wstring& fileName, TextFile::Encoding encoding = TextFile::GUESS);
47
 
bool EncodeAssembly();