Mercurial > hg > ede
comparison 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 |
comparison
equal
deleted
inserted
replaced
0:f598703553ef | 1:82e82dda442b |
---|---|
1 version: 0.00001 | |
2 | |
3 NOTES: | |
4 | |
5 language.py: | |
6 -The entire language is define in language.iset | |
7 | |
8 -language.tokenize() does not yet these data types: | |
9 - addr11 | |
10 - port_addr | |
11 - vect8 | |
12 | |
13 -16 bit hex strings must be in the format '0xXXXX' or '0xXXX' | |
14 or they will be interpreted an a 8 bit data type | |
15 | |
16 assembler.py: | |
17 | |
18 - first_pass() doesn't handle any directives apart from 'label:' | |
19 - labels must be defined before they are referenced or second_pass() breaks | |
20 - 16 bit address labels don't work unless the address is actually > 255 | |
21 otherwise tokenize returns them as 'rel8' and the symbol doesn't match | |
22 anything in iset |