Search found 29 matches

by ar18
29 Aug 2018 23:31
Forum: Questions and answers
Topic: No 64-bit support?
Replies: 6
Views: 31222

Re: No 64-bit support?

The source of your confusion is that there are two versions of macro WinAPI: 32bit in the library winapi.htm, and 64bit in winabi.htm https://euroassembler.eu/maclib/winabi.htm#WinAPI , and you were looking at the former one. Unfortunately only one of them is listed on Index page (I should do somet...
by ar18
29 Aug 2018 13:38
Forum: Questions and answers
Topic: No 64-bit support?
Replies: 6
Views: 31222

Re: No 64-bit support?

2) 3) I don't have to bother with calee-save registers if I'm not using them in my function, do I? Are there some API functions which use XMM for passing parameters? I know this possibility is specified in ABI but I don't see any useful application of such ABI call, which I could use for debugging....
by ar18
29 Aug 2018 01:44
Forum: Questions and answers
Topic: No 64-bit support?
Replies: 6
Views: 31222

Re: No 64-bit support?

1) Stack alignment in 64bit WinAPI is provided by the pair of instructions PUSH RSP and ADDQ [RSP],8 , which is or is not skipped depending on runtime stack alignment tested with instruction TEST SPL,1000b . I hope this mechanism is better explained in the example at https://euroassembler.eu/maclib...
by ar18
29 Aug 2018 01:25
Forum: Questions and answers
Topic: No 64-bit support?
Replies: 6
Views: 31222

Re: No 64-bit support?

Many libraries shipped with €ASM contain macros for 64bit mode, as declared in the column Width at https://euroassembler.eu/maclib/ Well let's talk about that, but first ... 1) Stack alignment in 64bit WinAPI is provided by the pair of instructions PUSH RSP and ADDQ [RSP],8 , which is or is not ski...
by ar18
29 Aug 2018 00:43
Forum: Questions and answers
Topic: MACROS
Replies: 2
Views: 18629

Re: MACROS

Got it.
by ar18
29 Aug 2018 00:42
Forum: Bug reports
Topic: Amphibious
Replies: 2
Views: 45585

Re: Amphibious

The analogy will not be obvious to American English speakers that I know of. Maybe you can wait and see if anyone else makes a comment about it.
by ar18
28 Aug 2018 02:50
Forum: Questions and answers
Topic: No 64-bit support?
Replies: 6
Views: 31222

No 64-bit support?

I noticed that in all of the macros, that they only support Win32 and not Win64. Is this because €ASM is still new and that is a feature not yet available? A few other observations: 1) I don't see where the stack is aligned on 16-byte boundaries for a Procedure as it should be per the Win64 ABI 2) N...
by ar18
28 Aug 2018 02:39
Forum: Bug reports
Topic: Amphibious
Replies: 2
Views: 45585

Amphibious

Under the description for the WINAPI macro, it says, "Amphibious functions, which have both ANSII and WIDE variant, may be specified with or without explicite suffix A or W." It's supposed to say ambiguous, not amphibious. Under the description for %SETB, it says, "%SETB is similar to...
by ar18
28 Aug 2018 02:28
Forum: Questions and answers
Topic: MACROS
Replies: 2
Views: 18629

MACROS

I noticed in the example for %SET2, that the directive %DataExp was used, but I can't find anything on the website that explains what it is or does. It looks like a function/macro for concatenating parameters inside a MACRO. Could you please explain %DataExp? Ditto for %Suffix and %# in the WinAPI m...