Open Zardoz89 opened 11 years ago
Yeah, i need also to implement "#include" directive for the assembler, to support many files .dasm
I saw that sometimes they use ".include" and ".define" instead of "#include" and "#define" Here : https://github.com/0x10cStandardsCommittee/0x10c-Standards/blob/master/ASM/Spec_0xSCA.txt
I make a branch and integrated TinyXML-2. Now keeps the task of detect the input file type by extension and parse the XML file. Also, with file type detection, we can remove the "-a" option or keep it to enforce the use of the assembler.
I will support them both (like the label: and :label)
I added a prototype XML load-out file. It parsers his own format and the DevKit solution files, but in this case, only gets the device loadout.
We need a way to select the devices load-out in a more powerful way. DevKit uses a XML (we can use TinyXML-2 lib for this) to select the load-out and build a multi-file assembly project. A example : https://github.com/S0lll0s/HowDoIOS/blob/master/DevKit/HowDoIOS-DevKit.10csln
If the load-out is missing or isn't using these "project file", we can use a default hardware load-out modifiable with the same parameters that actually we have.