Re: Inline assembly registers

2013-08-10 Thread Temtaime
Now it's clear. Thanks very much!

Re: Inline assembly registers

2013-08-10 Thread bearophile
Temtaime: I'm writing some ASM code in my function. Does it mean that DMD saves "his" registers before my asm code and restores after? So i can use all registers without interaction with code that DMD backend produces? dmd saves some registers before the asm code, and then restores them af

Re: Inline assembly registers

2013-08-10 Thread Temtaime
I'm writing some ASM code in my function. Does it mean that DMD saves "his" registers before my asm code and restores after? So i can use all registers without interaction with code that DMD backend produces?

Re: Inline assembly registers

2013-08-10 Thread bearophile
Temtaime: Which registers in IASM i must preserve? http://dlang.org/iasm.html says nothing. D is a system language, and registers are there to be used. What do you want to keep safe? Take a look at the docs page about the D ABI. Bye, bearophile

Inline assembly registers

2013-08-10 Thread Temtaime
Hello for all! Which registers in IASM i must preserve? http://dlang.org/iasm.html says nothing. Regards.