flat assembler
Message board for the users of flat assembler.
Index
> Windows > what the hell is STATUS_DATATYPE_MISALIGNMENT ?! |
Author |
|
revolution 19 Apr 2008, 01:07
You are using int 0x2e, an undocumented interface to the OS. So how do you expect us to help you? I don't think there are any MS kernel programmers on this board.
|
|||
19 Apr 2008, 01:07 |
|
asmrox 19 Apr 2008, 02:03
i used int cuz im too lazy to import from ntdll.
when i modify EFL (xor eax,eax) it works fine. I wana know whats this magic alginment |
|||
19 Apr 2008, 02:03 |
|
revolution 19 Apr 2008, 02:17
asmrox wrote: ... im too lazy ... ntdll is also an undocumented interface. If you want to use the standard kernel32 (or any documented) interface then you will have a much higher chance of finding help for your problem. |
|||
19 Apr 2008, 02:17 |
|
asmfan 19 Apr 2008, 07:20
asmrox you're smart enough to use 2eh|sysenter but not enough to align structures as last error demands... verdict return to 'hello world'.
PS your trojan must die. |
|||
19 Apr 2008, 07:20 |
|
asmrox 20 Apr 2008, 01:03
i still dont know whats align and why to do that =/
|
|||
20 Apr 2008, 01:03 |
|
edfed 20 Apr 2008, 01:13
align is due to the bus width of the µP
if the data bus width is 16 bits for example, reading a dword(32) will take 2 read cycles. one for the first part (16), and one for the second (16)part... if the data is 2 bytes (16), and aligned on the bus, it will take only one (16) read cycle. and if the data is 2 bytes(16) but misaligned, it will take 2 read (8 + cycles. ask to the web site of revolution, it will explain better than me. |
|||
20 Apr 2008, 01:13 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.