XGC Technology

sales@xgc.com
Fax +44 1483 433312


The Assembler


You will use the 1750 assembler to assemble the output of the compiler. Following the usual C compiler convention, the assembler is run automatically to generate object code, but can always be run separately if necessary.

The assembler is also useful for assembly language programming. Using the assembler's macro feature, or the assembly language pre-processor, or the C pre-processor, you have all you need to create compact application programs.

The assembler translates 1750 assembly language into relocatable object code in Common Object File Format (COFF). Both 1750A and 1750B instructions are supported, with an assembly time option to indicate which instruction set and which optional features are to be expected.

The assembler implements several smart pseudo instructions such as EFLR, LSJS and LURS that expand into one of several short sequences of 1750 instructions depending on context. The LLIM pseudo instruction loads a long immediate value into a pair of registers for use with the 1750B long load and store instructions.

The look and feel of the assembler is the same as for any GCC assembler. That is the command line options are the same, the directives are the same, the listing format is the same.

Links

User Manual