flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
Reverend
Imho it is a bug - in Windows ME .exe loader.
|
|||
![]() |
|
decard
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).
|
|||
![]() |
|
Tomasz Grysztar
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.
|
|||
![]() |
|
Raedwulf
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 |
|||
![]() |
|
Adam Kachwalla
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. |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.