Skip to content

Bang1338/my-small-hello-world

Repository files navigation

My small "Hello, World!"

My attempt to do a smallest "Hello, World!" PE32

Made With C Coded With CB Coded With Np++ Using Tool Crinkler

For lazy user

Numbers Source Code EXE Size (byte) Description
1 hello_gex.c hw_363gex 363 messagebox, exit + hide
2 hello_g.c hw_360g 360 messagebox, hide
3 hello_nh.c hw_353nh 353 messagebox, no hide
4 hello_c.c hw_352c 352 console
5 hello_c.c hw_346c2 346 console, with other compile
6 helloasm.asm hw_345asm 345 console, masm32
7 helloasm2.asm hw_343asm 343 console, masm32

Why

  • Why not :)

Rule

  • Must be Hello, World!, not hello world, hello, world!, GOODBYE WORLD, hello friend,...
  • C, C++, any ASM. Just not Python or brainfuck or any kind of that.
  • Allowed to use compressor
  • Allowed to mod the exe, just make sure that working.
  • Recommend: CONSOLE. If you want to try hard, use MessageBoxA or GUI

How to build

- Note:     all compiled exe are using x86 Native Tools Command Prompt for VS 2019,
            idk what other VS version size it is. So don't blame me.
- Note 2:   I tried VS2010, not working at all.
- Note 3:   workasm.bat NEED MASM32 and VS.

Step 1: Install Visual Studio (just not <=2010).
Step 2: Use x86 Native Tools Command Prompt.
Step 3: Set folder to the location that all file I mentioned here.
Step 4. Run work[type].bat
Step 5. Profit

Inspired from

Special thank

  • x86matthew: Suggestion for optimizing (but some of them idk)

About

my possible small hello world i've ever done.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published