On Thu, 07 Jul 2011 14:01:10 -0400, Walter Bright <[email protected]> wrote:

On 7/7/2011 10:45 AM, eris wrote:
This would seem to break modularity and require every compiler
to re-implement every possible assembler.

Not really. Assemblers aren't hard to write.

To clarify, D's inline assembler has it's own syntax, and works across OSes. Essentially, D doesn't support other assemblers, it simply implements an assembler inside D. Plus it integrates symbols with normal D code, making assembly *much* easier to write.

Read the documentation here: http://www.digitalmars.com/d/2.0/iasm.html

-Steve

Reply via email to