Search found 46 matches

by vitsoft
30 Aug 2018 22:20
Forum: Questions and answers
Topic: Invoke
Replies: 10
Views: 48048

Re: Invoke

After the call is made to the function, per the Win64 ABI it must then copy rcx,rdx,r8, and r9 into the SHADOW SPACE at the start of that function. I didn't know that. Agner Fog in book 5, page 19, says ad 64 bit Windows: Since the shadow space is owned by the called function, it is safe to use the...
by vitsoft
30 Aug 2018 21:27
Forum: Questions and answers
Topic: No License?
Replies: 2
Views: 18984

Re: No License?

by vitsoft
30 Aug 2018 21:25
Forum: Questions and answers
Topic: Invoke with SIMD operands
Replies: 11
Views: 51544

Re: Invoke with SIMD operands

if you decide to not support this, then make it clear in your documentation that €ASM only partially supports the Win64 ABI. Actually it's not €ASM's job to support various ABI invokations (Win64, SystemV, Delphi etc), they are implemented as external macros, totally in the hands of €ASM users. So ...
by vitsoft
29 Aug 2018 22:45
Forum: Questions and answers
Topic: Invoke with SIMD operands
Replies: 11
Views: 51544

Invoke with SIMD operands

Sometimes a bit of pseudocode will help better than any explanation ... api %MACRO Function, Argument1, Argument2,,,Lib= ____ %i %SETA %# ____ j %FOR %i..1 ________ %IF %i=4 ____________ %IF TYPE# %j = 'real4' ________________ movss xmm3,%j ____________ %ELSEIF TYPE# %j = 'real8' ________________ m...
by vitsoft
29 Aug 2018 22:11
Forum: Questions and answers
Topic: Invoke
Replies: 10
Views: 48048

Invoke

I am experienced having written a few full fledged 64-bit programs, like a Paint program written completely with GoAsm, so I'm very familiar with how it works and it works like this: invoke fnTest,p1,p2,p3,p4,p5,,,p10 push p10 ; Put operands on stack, begin with the last. . . . push p5 ; = any valu...
by vitsoft
29 Aug 2018 21:32
Forum: Questions and answers
Topic: No 64-bit support?
Replies: 6
Views: 31207

Re: No 64-bit support?

That sounds good but that isn't what I'm seeing. I'm confused so here is what I am seeing for WinApi macro for example: 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#Wi...
by vitsoft
28 Aug 2018 22:30
Forum: Bug reports
Topic: Amphibious
Replies: 2
Views: 45567

Re: Amphibious

I treat the term amphibious as designed for two realms — air and water — such as amphibious vehicle or animal (frog, salamander), and amphibious functions as designed for both character realms — ANSI and WIDE. Do you think that metaphore is really bad?

Ad assignes, occurs 8 times, mea culpa.
by vitsoft
28 Aug 2018 22:21
Forum: Questions and answers
Topic: No 64-bit support?
Replies: 6
Views: 31207

Re: 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? Many libraries shipped with €ASM contain macros for 64bit mode, as declared in the column Width at https://euroassembler.eu/maclib/ 1) I don't ...
by vitsoft
28 Aug 2018 21:22
Forum: Questions and answers
Topic: MACROS
Replies: 2
Views: 18612

Re: MACROS

%DataExp used in the example for %SET2 https://euroassembler.eu/eadoc/index.htm#pcSET2 is an arbitrary chosen name of preprocessing variable, which is being assigned with %SET2, it is not a function/macro/directive. The only pseudoinstructions which begin with % are listed at https://euroassembler....
by vitsoft
05 Aug 2018 13:52
Forum: To do list
Topic: Plans for the next versions
Replies: 1
Views: 30663

Plans for the next versions

There are many enhancements which I would like to add sometimes to EuroAssembler (not necessarily in this order): More practical project examples and skeletons. Translation of Manual to the Czech and other languages. Output program format A.OUT, ELF, Linux executable. Linux version of EuroAssembler ...