If there are no plans to replace the built-in assembler with a standalone tool or an external library, here's a detailed explanation how to implement a two pass assembler that patches label addresses in the 2nd pass:
http://stackoverflow.com/questions/384871/building-an-assembler
If there are no plans to replace the built-in assembler with a standalone tool or an external library, here's a detailed explanation how to implement a two pass assembler that patches label addresses in the 2nd pass:
http:// stackoverflow. com/questions/ 384871/ building- an-assembler