|
Software Downloads > Programming > PLD2 Compiler
PLD2 resembles a universal assembler with the rapid programming syntax of a compiler. PLD2 generates Windows executable files but the output object file format is user customizable and so is not limited to Windows. PLD2 shows the final addresses assigned to a statement on the same line as the statement, without the need for relocation or offset calculations. Not only does this make debugging easier, but simplifies handling of user reports where Windows reports an illegal instruction at a specific address. The cross-reference list spans the entire program, easing hardware/software integration. Memory locations may be assigned by the programmer, allowing for powerful macros such as mapping and aligning of hardware defined control structures. The code generator is user customizable. About 75 statements are all that is required to port to a new 16 or 32 bit little endian architecture. Up to 4 code definition sets may be active simultaneously and switching between the code sets is a fast operation. Multiple calling sequences may be defined with one set of calls defined to communicate parameters via the stack, another via registers, and yet another via locations following the call. Subroutines may be nested and all symbols defined in a nested routine are local. Macros may define names that are either local or global. Macros can define names via concatenation and can even define other macros dynamically.
|