Re: HAY Herbert, wanna write a legal PE executable ?



hutch-- wrote:

I didn't offer any challenge, I asked you to post the short
examples from your challenge with Wannabee.

I don't particularly care what you requested, the masm32 project has
been available for years and it contains code that I have written.

So you refuse to enter the ring.


Seems you are confusing assembly code and machine code. What
I posted was pure machine code and nothing else.

You appear to be confusing your confusions. You posted ascii
representation of binary code.

No, I posted pure binary code. Sometime it happens that
a binary byte is displayed as a 'a' or 'Z'.


You are simply mistaken here. When you can verify that your 922 byte
application runs on EVERY Win32 version from the earliest 32 bit
version of WinNT to current Vista then you may have something to say
but the PE specification actually DOES run on all versions of 32 bit
Windows. Windows 32 bit PE executable files are a specification from
Microsoft, it is not subject to your personal interpretation.

The other way: show me a single 32 bit Windows version where it
doesn't run.



In a HEX editor it looks like encrypted data. Run the file and is
startup is laggy and is a lot slower than the console startup time.

Most binary file looks like "encrypted data" in a hex editor.


Can you please explain which "sheer brutal power of MASM" is
necessary to write a 1024 byte executable which displays a
window? We are still waiting for:

Who said it need the sheer brutal power of MASM to write a 1024 byte
window. It just happens to be the legal minimum size for a 32 bit PE
file.

Because you wanted to give us some examples of the "sheer brutal
power of MASM" and then posted this example.


Ok Hutch, let's see one of your MASM examples so we can decide if it's
possible to improve it using a better assembler. But don't give us a link,
post it right here, the complete source (with all necessary include files)
for a short demo which can be assembled with MASM.

Done years ago, the MASM32 Project at www.masm32.com .

Then extract the one example which best shows us the "sheer brutal
power of MASM" and post it here.


What you have not done yet is tell what assembler you are using. So
far your code looks like hand coded binary.

I always hand code the binaries when doing assembly programming.
Only MASM and HLA user let the "assembler" generate code which
they didn't write explicitly themselves.


But if you really want a second challenge besides the one with
Wannabee you have to provide a little bit more than a 1k program
which displays a window. For example, show me the MASM source
of a program which displays the OS version and where the same exe
works in 16 bit DOS and 32 bit Windows.

What is the big deal, its done with a DOS stub for a standard PE file.

Sure, but I want to see the "sheer brutal power of MASM" to do it
in a simple and readable way.
.



Relevant Pages

  • Re: HAY Herbert, wanna write a legal PE executable ?
    ... let's see one of your MASM examples so we can decide if it's ... ascii format which do not appear to be assembler code at all. ... run in 32 bit Windows, so it can't be executed for example ... But you can also execute the same gver.exe in DOS 6.2. ...
    (alt.lang.asm)
  • Re: HAY Herbert, wanna write a legal PE executable ?
    ... let's see one of your MASM examples so we can decide if it's ... ascii format which do not appear to be assembler code at all. ... run in 32 bit Windows, so it can't be executed for example ... But you can also execute the same gver.exe in DOS 6.2. ...
    (alt.lang.asm)
  • Re: Structures in Assembly Language
    ... > unions where MASM has had the capacity for many years. ... RosAsm is reinvented to include new hardware consideration. ... with 8-20 open windows, to have access to the implementations of you ... > do these things where with toys like Betov's assembler, ...
    (alt.lang.asm)
  • Re: beginner asm, where next?
    ... Do you prefer NASM, MASM or some other ... Do you work mostly on a Unix like machine or Windows? ... Do you intend to continue programming in assembler or do you ... GAS,, is available nearly ...
    (alt.lang.asm)
  • Re: HAY Herbert, wanna write a legal PE executable ?
    ... hat, you or Wannabee. ... Come up with 10-20 diffrent examples of _complete_ MASM ... possible to improve it using a better assembler. ... but I want to see the "sheer brutal power of MASM" to do it ...
    (alt.lang.asm)