Hello all,
With absolute assembly there is no restriction on the number of files that may be INCLUDEd, and you may also nest includes (include files may be referenced within an include file). The primary difference is that absolute assembly code defines its location in memory using ORG directives, whereas relocatable assembly uses SECTION directives to define code location. For absolute assembly, the programmer also needs to ensure that there is no overlapping of the various code sections in different parts of the program.
Another difference is that, for absolute assembly, since all addresses are known during the assembly process, the linker is not required, and an S19 file can be directly generated by the assembler. However, I think this may require that the assembler program be used alone, and not called from within the CW IDE.
When using the assembler program alone, the formalised, and rather complex CW project directory structure is not necessary. Note that the simulator/debugger tool can also be use alone.
I assume that Truk's earlier assembly projects would have used absolute assembly.
Regards,
Mac