LRDE Tiger Compiler  1.34a $Id: 7fef12e1f5fa43449d667a0eec1d837c40fc1202 $
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
target::Assembly Class Reference

An assembly language comes with its syntax, its runtime library, and its layout of fragments. More...

#include <assembly.hh>

Inheritance diagram for target::Assembly:
Collaboration diagram for target::Assembly:

Public Member Functions

virtual const char * runtime (bool gc=false) const =0
 The runtime library.
assem::Layoutlayout_get ()
 Return Assembly layout.
Ctor & dtor.
 Assembly (assem::Layout &layout)
virtual ~Assembly ()
 Destroy an Assembly.

Protected Attributes

assem::Layoutlayout_
 The associated assembly layout.

Detailed Description

An assembly language comes with its syntax, its runtime library, and its layout of fragments.

See Builder and Factory 's design patterns.

Constructor & Destructor Documentation

target::Assembly::Assembly ( assem::Layout layout)
target::Assembly::~Assembly ( )
virtual

Destroy an Assembly.

Member Function Documentation

assem::Layout & target::Assembly::layout_get ( )

Return Assembly layout.

References layout_.

Referenced by target::instructions_dump().

virtual const char* target::Assembly::runtime ( bool  gc = false) const
pure virtual

The runtime library.

Implemented in target::ia32::GasAssembly, and target::mips::SpimAssembly.

Referenced by target::runtime_dump().

Member Data Documentation

assem::Layout& target::Assembly::layout_
protected

The associated assembly layout.

Referenced by layout_get().


The documentation for this class was generated from the following files: