Exemplo n.º 1
0
void SymConstCharacterString::Generate(AsmCode& asmCode, unsigned stmtDepth) const
{
   asmCode.AddCmd(PUSH, AsmVarAddr(asmCode.AddData(asmCode.GenStrLabel("str"), value)));
}
Exemplo n.º 2
0
void SymVarGlobal::GenerateDeclaration(AsmCode& asmCode)
{
   varLabel = asmCode.AddData(name, type->GetSize());
}
Exemplo n.º 3
0
void SymConstFloat::GenerateDeclaration(AsmCode& asmCode)
{
   constLabel = asmCode.AddData(name, value);
}