#include <asmparser.h>
Public Types | |
| enum | Type { Relocatable, Absolute } |
Public Member Functions | |
| AsmParser (const QString &url) | |
| ~AsmParser () | |
| bool | parse (GpsimDebugger *debugger=0) |
| QString | picID () const |
| bool | containsRadix () const |
| Type | type () const |
Protected Attributes | |
| const QString | m_url |
| QString | m_picID |
| bool | m_bContainsRadix |
| Type | m_type |
Definition at line 24 of file asmparser.h.
| bool AsmParser::parse | ( | GpsimDebugger * | debugger = 0 |
) |
Read in data from file, return success status.
| debugger | if this is non-null, then source-line markers read from the assembly file (such as those beginning with ";#CSRC" will be passed to hllDebugger). |
Definition at line 30 of file asmparser.cpp.
References GpsimDebugger::associateLine(), m_bContainsRadix, m_picID, m_type, and m_url.
Referenced by TextDocument::convertToPIC(), and ProcessOptions::guessMediaType().
| QString AsmParser::picID | ( | ) | const [inline] |
Returns the PIC ID
Definition at line 42 of file asmparser.h.
References m_picID.
Referenced by TextDocument::convertToPIC().
| bool AsmParser::containsRadix | ( | ) | const [inline] |
Returns whether or not the assembly file contained the "set radix" directive
Definition at line 47 of file asmparser.h.
References m_bContainsRadix.
| Type AsmParser::type | ( | ) | const [inline] |
If the assembly file contains any of several key words that identify it as a relocatable object, then this will return Relocatable.
Definition at line 52 of file asmparser.h.
References m_type.
Referenced by ProcessOptions::guessMediaType().
1.5.1