[fpc-devel] ASM on Win64

Henrick Hellström henrick at streamsec.net
Mon Dec 17 15:32:29 CET 2007


Hello everyone,

Before asking too many questions already answered, is there any 
comprehensive up to date documentation of asm usage for the Win64 target?

(Yes, I have googled the archive of this list, but since the compiler is 
still under active development, I didn't think it might be a good idea 
to trust information posted here often more than two years ago. The 
information about the Win64 target that I found at 
http://www.freepascal.org/docs.html is either incomplete or missing 
completely.)

I am in particular interested in:

1. Since there is no CPU debug window in Lazarus Win64, I tried the -A 
option, but it doesn't seem to work with the compiler bundled with 
Lazarus Win64. I tried -aASW, -AASW and a couple of other combinations. 
Am I missing something obvious?

2. I couldn't find information about the calling convention under Win64 
on the documentation page. Does FPC support the unified MSVC++ calling 
convention for Win64 that is very similar to Register+stack frames? Does 
it, like MSVC++, *only* support that calling convention?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5285 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20071217/4095da5c/attachment.bin>


More information about the fpc-devel mailing list