Actions

Difference between revisions of "Sx assembler"

From Just in Time

 
m
Line 5: Line 5:
 
** include
 
** include
 
** macros
 
** macros
** recognizing opcodes that start in the label column (the first column).
+
** recognizing opcodes that start in the label column (the first column). Currently, a word that starts in the first column will be parsed as a label, never as an opcode.
 
* backend; create a list- and hex-file out of the generated parse tree.
 
* backend; create a list- and hex-file out of the generated parse tree.

Revision as of 00:52, 18 January 2007

Work is in progress on a boost.spirit based SX assembler.

The sx assembler consists of 2 parts:

  • frontend; create a syntax tree out of the program text. There is a working spirit grammar without actions (the actual tree building). Open items are:
    • include
    • macros
    • recognizing opcodes that start in the label column (the first column). Currently, a word that starts in the first column will be parsed as a label, never as an opcode.
  • backend; create a list- and hex-file out of the generated parse tree.