Assembler: check instruction length for correct # and size of operands.
commit42477a07676e0d43646a8492a9f6cfc09ab005cd
authorJeff Connelly <shellreef+git@gmail.com>
Sat, 17 May 2008 00:04:46 +0000 (16 17:04 -0700)
committerJeff Connelly <shellreef+git@gmail.com>
Sat, 17 May 2008 00:04:46 +0000 (16 17:04 -0700)
treed49cf943f9dfd545a5ae1db19946b4c02e99cc82
parentedd8b7ab17b55ed5dc7af0c7c34e4a2df5fcc675
Assembler: check instruction length for correct # and size of operands.

For example, lwi's immediate operand is 2 trits. A label is 1 trit, so
lwi on an address label will only generate 2 trits, and generate this error.
asm/asm.py