flat assembler
Message board for the users of flat assembler.
Index
> Compiler Internals > small exe? |
Author |
|
Reverend 05 Nov 2005, 09:24
Imho it is a bug - in Windows ME .exe loader.
|
|||
05 Nov 2005, 09:24 |
|
decard 05 Nov 2005, 15:30
Indeed it is some kind of error - I met it some time ago. Seems that windows doesn't wan't to load EXE files smaler than 64 bytes (IIRC).
|
|||
05 Nov 2005, 15:30 |
|
Tomasz Grysztar 15 Nov 2005, 10:02
Note that it always works when you execute that program from command line window - only trying to execute very small executables from the explorer directly doesn't work in some Windows versions.
|
|||
15 Nov 2005, 10:02 |
|
Raedwulf 22 Nov 2005, 07:39
I think this is due to the fact that windows explorer checks the size of the executable file and it can't 'believe' it's so small
Microsoft has got too used to its own bloatware _________________ Raedwulf |
|||
22 Nov 2005, 07:39 |
|
Adam Kachwalla 25 Apr 2006, 00:20
You could do this:
Code: format mz push cs pop ds mov ah,9 mov dx,hello int 21h mov ax,4C00h int 21h hello db 'Hello world!',24h RB 64 The RB 64 will make sure the EXE is longer than 64 bytes. |
|||
25 Apr 2006, 00:20 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.