flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
Roman 29 Jul 2024, 08:42
I do VirtualAlloc 20 000 000 bytes
And get address. But how align 16 this address ? I want using see movaps. |
|||
![]() |
|
revolution 29 Jul 2024, 08:46
Works for me.
Code: virtual at 0 align 16 end virtual |
|||
![]() |
|
Roman 29 Jul 2024, 08:47
This not help me.
Because invoke VirtualAlloc function win api. Last edited by Roman on 29 Jul 2024, 08:49; edited 1 time in total |
|||
![]() |
|
Roman 29 Jul 2024, 08:48
I needed something like this:
and esp, 0FFFFFFF0h |
|||
![]() |
|
revolution 29 Jul 2024, 08:51
In Windows VirtualAlloc is at page granularity. So it is aligned to 4k. 16 is a subset of 4k is it is already aligned.
|
|||
![]() |
|
Roman 29 Jul 2024, 09:13
Its nice.
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.