Search found 54 matches

by vitsoft
25 Sep 2025 18:46
Forum: Questions and answers
Topic: Alignment greater than 16 - how to set without warnings?
Replies: 2
Views: 10641

Re: Alignment greater than 16 - how to set without warnings?

Disable warning W3410 is not a good idea, it might disalign your variables when they are mixed with shorter variables or when your program is one of modules which will be linked to PE. Default alignment of segments built in €ASM ([.text], [.rodata], [.data], .bss]) is indeed 16 bytes only, but it ma...
by vitsoft
25 Sep 2025 18:06
Forum: Wish list
Topic: VPOPCNT is not present - please add it
Replies: 1
Views: 8415

Re: VPOPCNT is not present - please add it

Yes, it will be added in the next release, in this year, I hope :-)
by vitsoft
18 Mar 2025 13:47
Forum: New releases
Topic: Version 20250318
Replies: 0
Views: 103165

Version 20250318

Release date: 2025 Mar 18 TimeStamp: 1742256000 File size: 5741413 File hash MD5: C6DF0E04FCDD15B5B75C63D018B532C6 What's new: Version for Linux is available, its name is euroasm.x. Scripts easource/eamake.cmd and easource/eamake.sh are now available to create executable files in Windows and Linux. ...
by vitsoft
22 Nov 2024 12:04
Forum: Bug reports
Topic: Exception on attempt to build DLL with align 16
Replies: 4
Views: 298409

Re: Exception on attempt to build DLL with align 16

If I do like this then it works: EUROASM CPU=X64 TestDLL PROGRAM FORMAT=DLL, MODEL=FLAT, WIDTH=64 EXPORT foo foo PROC RET ENDP foo align 16 EXPORT bar bar PROC RET ENDP bar ENDPROGRAM TestDLL It works, because at the time of align 16 €ASM already encountered code instructions foo PROC and RET , whi...
by vitsoft
22 Nov 2024 08:54
Forum: Bug reports
Topic: Exception on attempt to build DLL with align 16
Replies: 4
Views: 298409

Re: Exception on attempt to build DLL with align 16

I have to praise you, Andrey, for the perfect minimal verificable example. Rather then WinDbg I am using OllyDbg for 32bit programs, see the enclosed snapshot. It reveals that the the exception was raised by reading from NUL pointer at 0x0041497d in the procedure PseudoALIGN , below the instruction ...
by vitsoft
18 Nov 2024 06:10
Forum: Questions and answers
Topic: Warning 2461: Why Immediate value (*) should not exceed 7 raised for shufps?
Replies: 1
Views: 168929

Re: Warning 2461: Why Immediate value (*) should not exceed 7 raised for shufps?

No, you didn't miss anything; according to the description in SHUFPS , shuffle instructions use imm8[1:0], imm8[3:2], imm8[5:4], imm8[7:6] and the value of immediate operand 0..255 is legal. I must have misunderstand the selection mechanism of the third operand years ago :oops: This bug will be fixe...
by vitsoft
31 Aug 2024 15:47
Forum: New releases
Topic: Version 20240831
Replies: 0
Views: 119261

Version 20240831

Release date: 2024 Aug 31 TimeStamp: 1725062400 File size: 5432336 File hash MD5: 0D20E06A0681AFE0CCF5211C75768EF9 What's new: New program formats BOOT, ELF, ELFX, ELFSO New machine instructions SAVEPREVSSP RSTORSSP SETSSBSY CLRSSBSY INCSSPD INCSSPQ ENCLV ENDBR32 ENDBR64 HRESET SENDUIPI SERIALIZE UM...
by vitsoft
16 Aug 2024 13:50
Forum: This phpBB forum
Topic: phpBB updated
Replies: 1
Views: 223733

Re: phpBB updated

phpBB was updated to verzion 3.3.12 today.
by vitsoft
09 Sep 2023 16:24
Forum: Bug reports
Topic: DOS TSR program in upper memory
Replies: 4
Views: 249937

Re: DOS TSR program in upper memory

However, that means if only a very small UMB is available, you may fail to allocate it when it is between 144 and 288 Bytes in size, even though that would suffice to install the resident portion. I thought it necessary to tell DOS that PSP of the resident has changed (was moved to upper memory). T...
by vitsoft
08 Sep 2023 20:03
Forum: Bug reports
Topic: DOS TSR program in upper memory
Replies: 4
Views: 249937

DOS TSR program in upper memory

On 2023/09/08 ecm says at Stack Overflow : In your tsrup example, it is said that a UMB must be allocated OFFSET# TsrTop - Shift bytes. However, the AllocUMB function is called with MOV CX,OFFSET# TsrTop / 16 so it appears to allocate too much. Is this an oversight in your example, or am I mistaken?...