flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
revolution 18 Mar 2015, 08:17
Is that you entire code? If so then there are some problems.
1) No "format ..." is specified so you get 16-bit code as a raw binary file (similar to a .com file). 2) No entry point is specficed so it starts executing the "dwThread rd 1" as the first instruction. 3) No call to ExitProcess (a "ret" does not always do what you might expect, and a 16-bit com program should use "int 0x20" or other DOS exit function). If that is not your whole code then we can't test what you haven't given us. At least make a short example that compiles and runs without us having to go to extra effort and make assumptions about what you are doing. |
|||
![]() |
|
HaHaAnonymous 18 Mar 2015, 14:08
Quote:
No. Not sure. |
|||
![]() |
|
typedef 20 Mar 2015, 02:17
CreateThread's last parameter:
64bit: QWORD 32bit: DWORD Is this 32bit or 64bit code? |
|||
![]() |
|
HaHaAnonymous 20 Mar 2015, 02:38
Quote:
32bit. Not sure. |
|||
![]() |
|
typedef 21 Mar 2015, 12:59
1. Make sure dwThread is in a readable+writeable section.
2. Use a debugger |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.