29-08-2019, 01:13 PM
To include a file which comprised a load of "db" statements
I used to be able to write: include coefft1.asm ;Interpolator coefft table
This worked with all previous assemblers.
This assembler requires: $include(coefft1.asm) ;Interpolator coefft table
Not difficult but I still haven't tracked down the relevant bit of the manual that gives the correct syntax.
The odd thing is that the MCU 8051 IDE assembler required this syntax to include a file with a load of assembler code in it, it was happy with the older syntax if the file only contained "db" directives.
Anyway, it now looks like I have a usable assembler with an IDE. All I have to do now is check that my odd bits of linker etc software still work and squirt the result into an EPROM emulator.
I used to be able to write: include coefft1.asm ;Interpolator coefft table
This worked with all previous assemblers.
This assembler requires: $include(coefft1.asm) ;Interpolator coefft table
Not difficult but I still haven't tracked down the relevant bit of the manual that gives the correct syntax.
The odd thing is that the MCU 8051 IDE assembler required this syntax to include a file with a load of assembler code in it, it was happy with the older syntax if the file only contained "db" directives.
Anyway, it now looks like I have a usable assembler with an IDE. All I have to do now is check that my odd bits of linker etc software still work and squirt the result into an EPROM emulator.
www.borinsky.co.uk Jeffrey Borinsky www.becg.tv







