Numbered local labels have been added to the disassembler to support labeling B instructions, rather than simply providing a target address and nothing more (especially since this is not the normal type of syntax used by assemblers). With this, when used in "gas mode", the generated assembly should be able to be fed into an assembler. The only caveat is that if this code were inserted into the codebase of zeptoforth, the naming conventions used within the zeptoforth kernel do not match those generated by the disassembler as the disassembler labels instructions based upon the Forth names of the words in question, which in "gas mode" are modified to fit the conventions expected by an assembler.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.