Inserting raw data in inline asm
BCS
nothing at pathlink.com
Thu Jan 4 14:42:51 PST 2007
Leopold Walkling wrote:
> Jarrett Billingsley schrieb:
>> "Leopold Walkling" <leopold_walkling at web.de> wrote in message
>> news:enjsji$kjj$1 at digitaldaemon.com...
>>> What are those "pseudo-ops" in inline asm like db, dw, dd, dl, df...
>>> for?
>>
>> Doesn't your topic answer your question?
>>
>> I guess they're for inserting static data without using D syntax..
>>
> I found out what it does, but for what reason should I insert a raw
> float into the machine code?
for doing something like this in ASM;
float a, b;
a = b * 7.35235532;
or maybe
float[] arr;
arr[] = [cast(flost)####, ####, ####, ####];
More information about the Digitalmars-d-learn
mailing list