ASM

Daniel Keep daniel.keep.lists at gmail.com
Fri Feb 13 05:21:47 PST 2009


Zarathustra wrote:
> I need to make some calculations with asm in D.
> Could somebody write how to do this, micro tutorial ;p

I find the 'need' hard to believe.  The only way you would need to use
assembler is if you're doing something really low level and complicated,
in which case a 'micro tutorial' is going to be about as much help as a
zeppelin.

> x86
> Especially inc, dec, add, sub, mul, imul, div, idiv instructions.
> Also ja, jb, jg, jl, jo; jc ...
> and, or, not, xor,
> sal, shl, sar, shr

http://digitalmars.com/d/1.0/iasm.html

http://en.wikibooks.org/wiki/X86_Assembly

If that isn't enough information, then you shouldn't be programming in
assembly.

  -- Daniel


More information about the Digitalmars-d-learn mailing list