Package scale.backend.xyz

This package provides templates that can be used to create a code generator for a different architecture.

See:
          Description

Class Summary
XyzAssembler This class generates Xyz assembly language from a list of Xyz instructions.
XyzGenerator This class converts Scribble into Xyz instructions.
XyzMachine This is the base class for all Xyz specific information.
XyzRegisterSet This class describes the register set of the Xyz architecture.
 

Package scale.backend.xyz Description

This package provides templates that can be used to create a code generator for a different architecture. The classes provided can be copied into the new directory for the new architecture and renamed. For example, assume you want to create a code generator for the HAL9000 system.

You can test this backend by using -arch hal9000 as a parameter to the Scale compiler.

Note - all the current code generators are for RISC-style architectures. There may be existing assumptions in the base classes in scale/backend that assume that the architecture is byte-addressable and that the architeture follows load/operate/store model. It may be difficult to develop code generators for word-addressable systems and CISC-style systems.