view assembler/README @ 1:82e82dda442b

alpha version of assembler 'finished' some more documentation and test files added
author james <jb302@eecs.qmul.ac.uk>
date Fri, 06 Dec 2013 23:39:54 +0000
parents
children 6b5453d7f336
line wrap: on
line source
version: 0.00001

NOTES:

language.py:
-The entire language is define in language.iset

-language.tokenize() does not yet these data types:
     - addr11
     - port_addr
     - vect8

-16 bit hex strings must be in the format '0xXXXX' or '0xXXX'
 or they will be interpreted an a 8 bit data type

assembler.py:

- first_pass() doesn't handle any directives apart from 'label:'
- labels must be defined before they are referenced or second_pass() breaks
- 16 bit address labels don't work unless the address is actually > 255
  otherwise tokenize returns them as 'rel8' and the symbol doesn't match
  anything in iset