use for the inline assembler

llee llee_member at pathlink.com
Sat Jul 22 07:46:32 PDT 2006


I've been working with the inline assembler for the past few weeks, trying to
learn the in's and out's of assembly code. I've managed to gain a basic
understanding of it's syntax, but a major question still remains; what can it be
used for? Over this time period I've spent a lot of time reviewing other
programs and code. Every one of them seem to rely on interrupts services. Yet
everytime I try to use these services I find myself commiting an 'access
violation'. If windows no longer provides access to bios and dos services, how
can user input be accessed, or output displayed? If a programmer is forced to
use the standard D input  and output functions with assembly code intersparsed,
what advantage does it have over pure D code? 
I'm looking to gain something from using assembly, but I'm not sure that there's
anything worth while. 





More information about the Digitalmars-d mailing list