Search found 17 matches

by AndreyDmitriev
22 Jan 2026 12:50
Forum: Wish list
Topic: Autoincrement/decrement Addressing Modes
Replies: 4
Views: 154

Re: Autoincrement/decrement Addressing Modes

Thank you very much for your suggestions and insights — I’ll try different approaches.
I’m not sure which modern assemblers have something similar; perhaps ARM does.

By the way, I wrote a small article about your assembler (in Russian) to raise interest:
https://habr.com/ru/articles/986752/
You ...
by AndreyDmitriev
22 Jan 2026 10:48
Forum: Wish list
Topic: Autoincrement/decrement Addressing Modes
Replies: 4
Views: 154

Re: Autoincrement/decrement Addressing Modes


instead of
avx_loop:
vmovdqu ymm0, [rcx]+
vmovdqu ymm1, [rdx]+
vpaddb ymm0, ymm0, ymm1
vmovdqu [r8]+, ymm0

you will write

Load32Bytes ymm0, rcx
Load32Bytes ymm1, rdx
vpadd ymm0, ymm0, ymm1
Store32Bytes r8, ymm0

which is almost as elegant and does not conflict with assembler syntax ...
by AndreyDmitriev
20 Jan 2026 16:37
Forum: Wish list
Topic: Autoincrement/decrement Addressing Modes
Replies: 4
Views: 154

Autoincrement/decrement Addressing Modes

Hi Pavel,

Thank you very much for the new €Assembler version — it works like a charm!

I have one suggestion that I would like to discuss.
A long time ago, I worked with the MACRO‑11 assembler on a DEC PDP‑11 computer.
Manual:
https://bitsavers.org/pdf/dec/pdp11/rsts_e/V09/7_MACRO_Programming/AA ...
by AndreyDmitriev
25 Oct 2025 09:00
Forum: Questions and answers
Topic: How to get RVA in EuroAssembler?
Replies: 8
Views: 40386

Re: How to get RVA in EuroAssembler?


I don't think that it is a problem anyway, 0x2000 or 0x3000, who cares? Of course you might avoid the literals and use named constants as in you first example.


I have no problems with constants at all, the only slightly annoying issue, especially in this case, is that they may change if I ...
by AndreyDmitriev
24 Oct 2025 19:00
Forum: Questions and answers
Topic: How to get RVA in EuroAssembler?
Replies: 8
Views: 40386

Re: How to get RVA in EuroAssembler?

And thank you for the example, but here is a small technical trouble: the .data section is now located at 0x3000 because you added constants directly to StdOutput. As a result, they were placed in the .rodata section. This additional section shifted .data from 0x2000 to 0x3000:
;...
handler:
SUB ...
by AndreyDmitriev
24 Oct 2025 15:18
Forum: Questions and answers
Topic: How to get RVA in EuroAssembler?
Replies: 8
Views: 40386

Re: How to get RVA in EuroAssembler?



However, I still don't understand the code in your handler , the structure of CONTEXT64, why mov [R8+0x0F8], safe_place, DATA=Q ,
who miraculously set R8 with what...


Oh, it is quite simple.
In Windows x64 SEH, when an exception occurs, the system calls my exception handler with the following ...
by AndreyDmitriev
24 Oct 2025 09:04
Forum: Questions and answers
Topic: How to get RVA in EuroAssembler?
Replies: 8
Views: 40386

Re: How to get RVA in EuroAssembler?


Currently I'm finishing a new version of €ASM but SEH will not be in it yet, I'm sorry.


Thank you for the quick response!

Just to clarify — no, no, I'm not asking for SEH to be implemented in EuroAssembler at all. That would be overengineering, and SEH is handled differently on different ...
by AndreyDmitriev
23 Oct 2025 19:04
Forum: Questions and answers
Topic: How to get RVA in EuroAssembler?
Replies: 8
Views: 40386

How to get RVA in EuroAssembler?

I trying to get SEH running in Assembly (Windows, x64).
Everything works as expected, but I unable to get RVA for my try... section, handler and unwind struct. For the moment, just for test, I placed hard coded constants, and it works, but how to do this in proper way?
Code:
EUROASM CPU=X64, SIMD ...
by AndreyDmitriev
26 Sep 2025 04:25
Forum: Questions and answers
Topic: Alignment greater than 16 - how to set without warnings?
Replies: 2
Views: 50238

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

Thank you very much, this is exactly what I needed. I had already tried explicit declaration of the sections, but I used the wrong syntax and was not aware of auto segmentation. Now I understand how it should be and it works.
by AndreyDmitriev
24 Sep 2025 19:12
Forum: Questions and answers
Topic: Alignment greater than 16 - how to set without warnings?
Replies: 2
Views: 50238

Alignment greater than 16 - how to set without warnings?

If I try to set an alignment greater than 16 for some reason, the following warnings are issued:

W3410 Requested alignment 4096 is greater then alignment 16 of section [.bss]. "addresses.asm"{10}
W3410 Requested alignment 64 is greater then alignment 16 of section [.text]. "addresses.asm"{18 ...