29-08-2019, 12:10 PM
Back to my original problem.
I've found a free assembler and a 3rd party IDE based around it.
Assembler: http://plit.de/asem-51/home.htm
IDE: http://www.opcube.com/home.html#MIDE51
Installed it and tried it on a old bit of code which I believed to be blameless. It's giving me a few errors which I'll need to investigate. Most of the errors are "symbol already defined" which is odd for a supposedly working bit of assembler but should be easy enough to track down. I think it's because some labels are pre-defined in a device file with these tools. The remaining 2 are "iilegal statement syntax" on "include" statements where I'm including large lumps of data as db statements. Possibly because the required syntax may differ between different assemblers.
I've also got to work out how to specify which device file (89C420 in this project) the assembler should use. Since I think I'm only using the basic 8051 instruction set and ports this may not matter.
I've found a free assembler and a 3rd party IDE based around it.
Assembler: http://plit.de/asem-51/home.htm
IDE: http://www.opcube.com/home.html#MIDE51
Installed it and tried it on a old bit of code which I believed to be blameless. It's giving me a few errors which I'll need to investigate. Most of the errors are "symbol already defined" which is odd for a supposedly working bit of assembler but should be easy enough to track down. I think it's because some labels are pre-defined in a device file with these tools. The remaining 2 are "iilegal statement syntax" on "include" statements where I'm including large lumps of data as db statements. Possibly because the required syntax may differ between different assemblers.
I've also got to work out how to specify which device file (89C420 in this project) the assembler should use. Since I think I'm only using the basic 8051 instruction set and ports this may not matter.
www.borinsky.co.uk Jeffrey Borinsky www.becg.tv







