Re: Z80 asm/disasm in Z80 asm, request
Posted: Fri Aug 14, 2020 1:33 am
intermediate results:
assembler size: 752
assembler tables size: 443
sizes are without expression parser and label manager. i'm expecting the whole thing to fit into 2kb (math expression parsing can be quite big). even 2.5/3 kb is still ok -- it is not a big price to pay to have full-featured assembler in dsForth.
i may include expression parser into assembler module, leaving only label manager as external dependence, so people may avoid writing it again and again. it is still nicely isolated from the other asm code, so it would be possible to replace it with your own.
ah, the license. BBC Basic (Z80) is zlib-licensed, so the asm will use the same license too.
p.s.: contrary to my other projects, i'm avoiding self-modifying code here, so the whole thing could be used in ROMs.
assembler size: 752
assembler tables size: 443
sizes are without expression parser and label manager. i'm expecting the whole thing to fit into 2kb (math expression parsing can be quite big). even 2.5/3 kb is still ok -- it is not a big price to pay to have full-featured assembler in dsForth.
i may include expression parser into assembler module, leaving only label manager as external dependence, so people may avoid writing it again and again. it is still nicely isolated from the other asm code, so it would be possible to replace it with your own.
ah, the license. BBC Basic (Z80) is zlib-licensed, so the asm will use the same license too.
p.s.: contrary to my other projects, i'm avoiding self-modifying code here, so the whole thing could be used in ROMs.