21
General / Re: How to: create DLL file for Windows 10 64-Bit Pro
« Last post by paule32 on Today at 11:17:12 am »Hello,
it is possible to change the creation of Assembly by FPC through some parameters or options ?
I have the following code:
which results into assembly code:
my intention is, to get the replacement of it like:
How can I do this ?
I know, that there are the keywords asm ... end;
But I would let FPC do this for me from pascal code.
it is possible to change the creation of Assembly by FPC through some parameters or options ?
I have the following code:
- s1 := QString.Create;
which results into assembly code:
- mov ebx,edx
- mov edx,1
- lea rcx,[VMT_$SYSTEM_$$_QSTRING]
- call SYSTEM$_$QSTRING_$__$$_CREATE$$QSTRING
my intention is, to get the replacement of it like:
- mov ebx,edx
- mov edx,0
- lea rcx,[VMT_$SYSTEM_$$_QSTRING]
- call SYSTEM$_$QSTRING_$__$$_CREATE$$QSTRING
How can I do this ?
I know, that there are the keywords asm ... end;
But I would let FPC do this for me from pascal code.