Mercurial > hg > ede
view assembler/README @ 8:81dd03d17c22
first_pass() didn't need a pc
author | james <jb302@eecs.qmul.ac.uk> |
---|---|
date | Sat, 07 Dec 2013 20:32:27 +0000 |
parents | 6b5453d7f336 |
children |
line wrap: on
line source
version: 0.00001 NOTES: language.py: -The entire language is defined in language.iset -language.tokenize() does not yet handle 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