What is the Smallest Possible .EXE?

  Рет қаралды 105,670

Inkbox

Inkbox

4 күн бұрын

To try everything Brilliant has to offer-free-for a full 30 days, visit brilliant.org/Inkbox/ . You’ll also get 20% off an annual premium subscription.
What is the smallest possible EXE that can be run on the Windows Operating System? What about the largest possible EXE? What even is an EXE file? On Windows, EXE files use the Portable Executable file format, which contains the program's code, data, and references to other libraries that can be loaded and run by the OS. It is often referred to as an "Image", the captured state of the program in a form ready to be run by the system.
After testing it was found that the smallest EXE on 64-bit Windows is 268 bytes. This is a system limitation and not a limit with the Portable Executable file format itself. The smallest EXE runnable by other versions of Windows are as follows:
Windows XP: 97 bytes
Windows 2000: 133 bytes
Windows Vista/7 (32-bit): 252 bytes
Windows 7/10/11 (64-bit): 268 bytes
The largest EXE possible is 1,996,488,704 bytes. Again, this size is a limitation with Windows.
GitHub project containing 268 byte EXE, world's smallest game, and world's smallest piano:
github.com/InkboxSoftware/sma...
About the PE file format:
PE file format: learn.microsoft.com/en-us/win...
PE file diagram: github.com/corkami/pics/blob/...
Making Small EXE:
Original research into smallest possible EXE: archive.is/w01DO
World's Smallest Windows App (Dave's Garage): • C vs ASM: Making the W...
Tiny PE on Windows 10 (x64): github.com/ayaka14732/TinyPE-...
More on the 268 byte limit: gist.github.com/kajott/063dfc...
Refined MattKC snake: github.com/EimaMei/snake-qr
Low Level Programming:
Kernel32 functions: www.geoffchappell.com/studies...
Windows Virtual Terminal Sequences: learn.microsoft.com/en-us/win...
MSVC Linker options: learn.microsoft.com/en-us/cpp...
What is the largest EXE: superuser.com/questions/66759...
This video is sponsored by Brilliant

Пікірлер: 467
@InkboxSoftware
@InkboxSoftware 5 күн бұрын
To try everything Brilliant has to offer-free-for a full 30 days, visit brilliant.org/Inkbox/ . You’ll also get 20% off an annual premium subscription.
@Pawlo370
@Pawlo370 2 күн бұрын
3:46
@AWIRE_onpc
@AWIRE_onpc 2 күн бұрын
no
@IT10T
@IT10T 2 күн бұрын
How does Brilliant afford to sponsor so many channels, who is paying all that for some information that is already publicly available? And why?
@geraldhasbeenhackedlmao
@geraldhasbeenhackedlmao 2 күн бұрын
brilliant along with most other sponsors email them a script made to sound better than youtube and stuff which intrigues people
@USERNAMEteammmw
@USERNAMEteammmw 16 сағат бұрын
Shove that brilliant up your a‌‌‌s‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌s
@shortcat
@shortcat 2 күн бұрын
"I’m not sure typing simulator would become a best seller on Steam." You'd be surprised what's taking over Steam tops these days...
@cerulity32k
@cerulity32k 2 күн бұрын
banana
@pepsiman9093
@pepsiman9093 2 күн бұрын
banana
@blarghblargh
@blarghblargh 2 күн бұрын
terracotta
@mjdevlog
@mjdevlog 2 күн бұрын
banana click simulator?
@pepsiman9093
@pepsiman9093 2 күн бұрын
@@mjdevlog yeah, it basically just exists to make money off the item trading system on steam
@araghon007
@araghon007 2 күн бұрын
When I started watching, I somehow only expected the usual "overlapping the DOS and PE headers" and hello world message box, didn't expect you to enter the
@TheSulross
@TheSulross 15 сағат бұрын
Clearly the video failed hugely on its stated objective to create smallest possible .EXE. Have to give a grade of F for that reason.
@thomquiri9860
@thomquiri9860 2 күн бұрын
1:15 nice integer overflow lmao
@qwerty11111122
@qwerty11111122 2 күн бұрын
17:46 bad video for security. Now the number of executables is finite and we can brute force through all of the 2^2^34 executables to find all of the penetration vectors.
@jaquelinecolibet
@jaquelinecolibet 2 күн бұрын
only for windows. unix/linux-based systems are still safe (but for how long?)
@v84l42
@v84l42 2 күн бұрын
huh?
@samuelthecamel
@samuelthecamel 2 күн бұрын
Good idea. I'm sure this calculation will complete before the heat death of the universe
@SG_01
@SG_01 2 күн бұрын
While you're at it, you can figure out all the valid versions of Doom are in there ^^
@yigawaffle
@yigawaffle 2 күн бұрын
@@samuelthecamel Well, it probably would. As technological advancements are constantly happening, once we have, per say, consumer-grade quantum computers, we just write the program, sit back, and enjoy.
@SomethingCatchy2_
@SomethingCatchy2_ 2 күн бұрын
I was exspecting this to just be a deep dive in to how small an exe can be, then he just made a game, this is amazing
@egarcia1360
@egarcia1360 2 күн бұрын
Anticlickbait
@SomethingCatchy2_
@SomethingCatchy2_ 2 күн бұрын
@@egarcia1360 Yeah!!
@NolanHOfficial
@NolanHOfficial Күн бұрын
​@@SomethingCatchy2_is that twitter meme
@SomethingCatchy2_
@SomethingCatchy2_ Күн бұрын
@@NolanHOfficial ?
@NolanHOfficial
@NolanHOfficial Күн бұрын
@@SomethingCatchy2_ "Yeah!!! 👍"
@darkarchon
@darkarchon 2 күн бұрын
Just to be pedantic, the first file isn't actually 0 bytes. But its contents are!
@HeyImSolace
@HeyImSolace 2 күн бұрын
But the file is nothing but its contents. Unless you're considering the directory entry of the file system part of the file, in which case you would also need to consider the filename and all the files metadata part of it. To my knowledge it isn't though. Directory structure is kept completely separate from file contents
@mars5train601
@mars5train601 2 күн бұрын
​@@HeyImSolaceFiles on your computer are stored with overhead. Some tools will tell you your file has a size of x bytes, and a size on disk of y bytes. This difference will exist even if the contents are 0bytes, since usually the system reserves a section of disk for it. This difference is op's 'being pedantic'
@albi2k88
@albi2k88 2 күн бұрын
O Archon się tu zjawił.
@HeyImSolace
@HeyImSolace 2 күн бұрын
@@mars5train601 I know that this overhead exists, but this overhead is not part of the file. This is like saying a Google search result is part of a Website. It takes up space, but it's not part of the website itself, it merely shows some data of it (Title and a little preview) and points to where it is (its web address).
@qwerty11111122
@qwerty11111122 2 күн бұрын
​@HeyImSolace nah, thats the difference in memory vs storage. The file's metadata in the inode table has a minimum size. In windows ntfs (from googling), the equivalent looks to be the mft record, which clocks in at 1kb or 2 512B ssd sectors.
@blarghblargh
@blarghblargh 2 күн бұрын
Back in the day, we called it "Anne See" (like "antsy" with a silent "t"). not "Ay En Ess Eye"
@yourcomputerhasdied
@yourcomputerhasdied 2 күн бұрын
it's the superior way to pronounce it. less syllables and easier to say. I've heard some people say ASCII one letter at a time, one of the worst experiences of my life
@blarghblargh
@blarghblargh 2 күн бұрын
@@yourcomputerhasdied you poor soul. Stay strong!
@voxvolhynia5400
@voxvolhynia5400 2 күн бұрын
@@yourcomputerhasdied Laugh out loud, what a waste of time.
@rhysbaker2595
@rhysbaker2595 2 күн бұрын
In fairness, he might have never heard anyone say it 🤷🏻‍♂️
@mewity
@mewity 2 күн бұрын
I pronounce it "ayensi"
@pielover267
@pielover267 Күн бұрын
5:17 wait a sec, wait a sec, does every windows executable really contain ASCII art of a shrub by default? I'm tempted to assume that was a joke so you would have something to rhyme, but honestly I'm hoping that it's true because that would be a hilarious and genuinely beautiful absurdity.
@KvapuJanjalia
@KvapuJanjalia 2 күн бұрын
If I remember correctly, if you disable ASLR, you can simply jump to Win32 API function addresses. This will eliminate some strings in IMPORTS section of a PE file. I haven't tried it myself.
@shallex5744
@shallex5744 2 күн бұрын
10:56 those aren't actually ASCII characters (except for the @) ASCII is only a 7-bit encoding, and thus only contains 127 characters. anything beyond that into the 8-bit realm is a vendor-specific extension beyond ASCII
@Dr-Zed
@Dr-Zed 2 күн бұрын
Demoscene members being chads as always. Crinkler is one of my favorite tools, so cursed yet so elegant.
@stgigamovement
@stgigamovement 2 күн бұрын
Another demoscene-friendly language is JS. In my experience, it's quite versatile. Stuff like fitting a game that was 30,000 bytes into 3,081 bytes. People have also made 140-character JS programs back in the olden days of X/Twitter when there was a hard 140 character limit.
@blarghblargh
@blarghblargh 2 күн бұрын
@@stgigamovement sounds more like code golf. does the demoscene want or care about JS?
@stgigamovement
@stgigamovement 2 күн бұрын
@@blarghblargh there's a section on Demozoo and Pouet for Javascript demoscene works, which I've used.
@eter9nitysslut131
@eter9nitysslut131 2 күн бұрын
@@stgigamovement i mean you need the runtime to go with it lol so not really demosccene
@Roomsaver
@Roomsaver 2 күн бұрын
@@stgigamovementThat’s code golf, you still need an interpreter for JS
@mrjson3039
@mrjson3039 2 күн бұрын
Dude... Dealing with microsoft's documentation practoces, that's the challenge I saw. Amazing work of art
@moontoadz
@moontoadz 2 күн бұрын
ANSI you can just say "an-see"
@willyzemlya
@willyzemlya Күн бұрын
Un-see🙈
@BradenBest
@BradenBest Күн бұрын
I've got ANSI in my pantsi
@ImpossibleEvan
@ImpossibleEvan 2 күн бұрын
5:15 the what now?
@voxvolhynia5400
@voxvolhynia5400 2 күн бұрын
Essential code, the ASCII Art Of A Shrub (TM) stabilizes the program, protects against any form of cyberattack, and automatically generates cryptocurrency. It's the sequel to Sun Tzu's The Art Of War, even being more practical on the field of battle.
@TheSektorz
@TheSektorz Күн бұрын
I've played DOS games with entire open worlds that were less than 64 kilobytes
@paumb5355
@paumb5355 2 күн бұрын
11:59 I laughed more than i should have on this part lol. Amazing video
@KLegyyn
@KLegyyn 2 күн бұрын
You brought me back in time to my computer science days, making games on console applications. . Those were the simplest of days. . Thank God I still have them. . .
@nomenmasi8964
@nomenmasi8964 2 күн бұрын
I just wonder why you used the song "There is no new China if there is no Chinese Communist Party" as the BGM for the (allegedly) Microsoft footage ♪mayor gone cheddar though mayor syndrome gore ♪mayor gone cheddar though mayor syndrome gore ♪gone cheddar, ...
@karehaqt
@karehaqt 2 күн бұрын
It could be the Taiwanese version, "Only Without the Communist Party, Will There Be a New China!".
@hagen-p
@hagen-p Күн бұрын
Maybe to avoid problems for using copyrighted music?
@andrew_ray
@andrew_ray 2 күн бұрын
With the parameters now all in place, we can build Jorge Luis Borges' library of Babel, but for exe files. Since there's a limit to the number of bytes that can go in an exe and a finite number of values each byte can have, we can imagine a filesystem the contains every possible exe file. But it couldn't be a Windows filesystem.
@InkboxSoftware
@InkboxSoftware Күн бұрын
Here you go: github.com/InkboxSoftware/DatabaseOfDamascus
@sundhaug92
@sundhaug92 2 күн бұрын
I mean, you can make a smaller executable for Windows by taking advantage of the NTVDM and making a COM-file
@omgboy4939
@omgboy4939 2 күн бұрын
what is the smallest possible elf64?
@aspectreishauntingeurope
@aspectreishauntingeurope 2 күн бұрын
(btw the result turns out to be 45 bytes)
@aspectreishauntingeurope
@aspectreishauntingeurope 2 күн бұрын
it seems youtube deleted my reply so let's try it again... even though it's about elf32, I'd highly recommend the famous essay "A Whirlwind Tutorial on Creating Really Teensy ELF Executables for Linux"
@cirkulx
@cirkulx 2 күн бұрын
i think using a header someone i know made and assembling asm -> elf64 it was 40 or smth
@asdfghyter
@asdfghyter 16 сағат бұрын
@@aspectreishauntingeurope that's way smaller than I expected!
@TheMcSebi
@TheMcSebi 2 күн бұрын
Not sure if you already know about this, but you might be interested in Cosmopolitan libc, a project to compile c code to a polyglot binary running natively on Linux + Mac + Windows + FreeBSD + OpenBSD + NetBSD and even in BIOS
@win7best
@win7best Күн бұрын
You could fit the entirety of Minecraft into a exe lol
@HedgehogGolf
@HedgehogGolf 2 күн бұрын
0:26 sneaking in your mailing list is a genius move lol
@etaoinwu
@etaoinwu 2 күн бұрын
that 嗯 got me laughing so hard in the binary selection part
@DrMoriarty-sees-all
@DrMoriarty-sees-all Күн бұрын
I have fond recollections of the smallest executable I ever wrote. It changed foreground and background colors on the display and was all of 47 bytes long. No lie. You could do wonders with assembly back then...
@jovetj
@jovetj 2 күн бұрын
You can pronounce ANSI as "ANN-see". Windows consoles are not "ASCII."
@powerpc6037
@powerpc6037 Күн бұрын
I remember having an exe file on my Amiga which was only 56 bytes in size: "reboot". This in fact rebooted the Amiga computer when you executed it.
@DavesGarage
@DavesGarage 2 күн бұрын
Great video! I never considered what the *largest* would be! Now I know :-)
@InkboxSoftware
@InkboxSoftware 2 күн бұрын
Thanks for giving it a watch, it means a lot coming from you.
@TheGreatAtario
@TheGreatAtario 2 күн бұрын
I think this is the first time I've ever heard anyone say "ay en ess eye" instead of "an-see"
@sgtmajorkiwi
@sgtmajorkiwi 2 күн бұрын
watching videos like these gives me such a desire to c r e a t e something in assembly but, yknow, then I remember, oh yea, I hate coding in assembly
@Saru-Dono
@Saru-Dono 2 күн бұрын
We really need Dave on this one
@graealex
@graealex 2 күн бұрын
Yes, let's bring in the tone-deaf boomer millionaire. He'll solve our problems.
@Saru-Dono
@Saru-Dono 2 күн бұрын
@@graealex Well, he kinda knows Windows, so he may be a good fit to explain Windows executables
@skycaptain95
@skycaptain95 2 күн бұрын
This is not some esoteric boomer multimillionaire knowledge ​@@Saru-Dono
@graealex
@graealex 2 күн бұрын
@@Saru-Dono He knows task manager. There are far more competent people still around in regards to WINAPI.
@cerulity32k
@cerulity32k 2 күн бұрын
​​@@graealexhe developed windows... he made fucking task manager and zip... *_he probably knows a lot about executable files._*
@michaelaguilar9751
@michaelaguilar9751 2 күн бұрын
I haven't played exe golf in a long time. That was a fun watch...thanks!
@km077
@km077 20 сағат бұрын
*fun fact:* Registers: EDI, ESP, EBI and EFL could be used to power a RNG with some multiplications and/or additions. Some of them change to a pretty unique value only at start-up and then increment as the program is running, but others could be used to get multiple equally dispersed pseudo-random numbers.
@christoffer4862
@christoffer4862 4 сағат бұрын
Sorry you had to look up the minimum file size of Portable Executables on different operating systems. Checking the minimum file system cluster size would have sufficed... For example a FAT sector is 512 bytes or more.
@sami77725
@sami77725 2 күн бұрын
this game with 825 is very small. Even NES Super Mario Bros. is 32 000 Bytes or 32 KB
@Bunny99s
@Bunny99s 19 сағат бұрын
Writing small programs under an OS is fun. Try writing a bootable game :) People managed to pack whole simulations or games into the bootsector of a floppy. A sector has 512 bytes but the last 2 bytes are required or the BIOS won't recognise it as bootable (55AA in hex). Though the bootsector (depending on the medium) also contains some volume information. That only leaves a little bit left for the program. People have written bootsector games or simulations and still have the disk to work properly under DOS or windows. Also there are no sys calls to any OS function since we ARE the OS if we boot from this medium. All we have are the BIOS interrupts and direct memory access. The BIOS only loads the first sector (boot sector) of the medium which usually just contains code to load the actual OS boot loader from other sectors.
@RochesterX
@RochesterX 2 күн бұрын
2:55 - Who knew Plato was a Linux fan?
@offensive-operator
@offensive-operator Күн бұрын
Imagine using those skills to write the most advance malware ever. OMG it sounds orgasmic!
@louq2
@louq2 2 сағат бұрын
NO DONT DO THAT.
@hc4633
@hc4633 2 күн бұрын
nice mix of humor and knowledge, good stuff
@MonochromeWench
@MonochromeWench 2 күн бұрын
linking an extra dll just for a rng is costing a lot of space. Ok not really a lot but you can do better. It would be smaller to implement a LFSR rng using a seed value from whatever source you can get that you're already have access to. A Console handle is probably good enough to use as a seed for a LFSR. The Handle values are likely going to be unique every time you run the exe though not guaranteed, the chances you'd get repeated Handle values are extremely unlikely. Or you can just go straight to using a cpu random instruction but you lose compatibility with old cpus.
@dura2k
@dura2k Күн бұрын
The Game .kkrieger should be a honorable mention. It's a 3D ego shooter in 96k! That's a lot bigger than your game, but with a lot more features. Maybe have a look :)
@tcscomment
@tcscomment 2 күн бұрын
I appreciated the SID music, I see you like Rob Hubbard :)
@ElectricalInsanity
@ElectricalInsanity 2 күн бұрын
I never expected to see a video game that you can print on a single sheet of paper.
@UnrealOG137
@UnrealOG137 Күн бұрын
That hotel light smash video is a real blast from the past Kevin watch the light!
@nikoladd
@nikoladd Күн бұрын
The smallest windows .exe, that does something meaningful, that I've seen, was a demo project in macro assembler and was just under 900 bytes. It created a window/form with some inputs and buttons and then executed a command when clicked. Basic demo, but still impressive.
@aarocka11
@aarocka11 Күн бұрын
Cool. Next time do a boot sector program so that way you don’t need the pesky bloat of an OS to execute.
@aspectreishauntingeurope
@aspectreishauntingeurope 2 күн бұрын
11:00 none of those characters are a part of ASCII... 😄
@timseguine2
@timseguine2 2 күн бұрын
If memory serves, isn't this CP437?
@EvelynMakesThings
@EvelynMakesThings 2 күн бұрын
​@@timseguine2To my knolwedge with ANSI art, yes
@COArSe_D1RTxxx
@COArSe_D1RTxxx 2 күн бұрын
The "@" sign isn't part of ASCII-7?
@goomygaming980
@goomygaming980 2 күн бұрын
@ is ASCII at least
@mandrainas
@mandrainas Күн бұрын
MattKC did a similar fitting a game to a QR code, but good on job on making this video your own!
@maxandroverinc.
@maxandroverinc. Күн бұрын
'William Gates' actually threw me for a second.
@Cube8
@Cube8 Күн бұрын
And this, ladies and gentlemen, is how games were made in the 80s.
@victorelazarzakzak
@victorelazarzakzak 2 күн бұрын
Chrome turning into Pac-Man and eating all the ram is too accurate 💀
@PaulPassarelli
@PaulPassarelli 16 сағат бұрын
Back in the days of DOS, we (Crescent Software) sold a library for BASIC (called PDQ) which would allow for the quick compilation & linking of EXEs less then 512 Bytes. Why 'so big' (LOL)? Because that was the size of *ONE* sector on a *FLOPPY DISK*. Anything less was moot. It could also create TSR (Terminate & Stay Resident) programs, which were available with a keystroke or interrupt. And we could shove them up into Extended, or of you remember it, "Expanded" memory. Since this was in the days prior to math coprocessors, I wrote the 8087 emulator for the product. Thanks for the nostalgic trip down memory lane.
@artofnoise5013
@artofnoise5013 2 күн бұрын
Just discovered your channel. At first wasn't sure if I was watching clickbait. Then at 1:00 - 1:15 I knew you were the real deal!
@xtremecj9302
@xtremecj9302 2 күн бұрын
Congrats on 100K subs! Love the videos.
@bradl7439
@bradl7439 Күн бұрын
In practical terms, the smallest .exe file you can have is the cluster size the FAT uses on the storage device you're using. Assuming you saved your work that is.
@Kiki79250CoC
@Kiki79250CoC 2 күн бұрын
Next step: waste money to make the smallest digitally signed executable
@TrevorVonSeggern
@TrevorVonSeggern 2 күн бұрын
I would love to see something similar on the linux side of things. Great work btw, fun video!
@KatTheFoxtaur
@KatTheFoxtaur 2 күн бұрын
I wonder whether there's any significance here, but that "maximum" size is exactly 119(2^24).
@planktonfun1
@planktonfun1 Күн бұрын
we both know brilliant doesn't teach real programming stuff, it only teaches a basic hello word code
@minirop
@minirop 2 күн бұрын
would you save some space if you used RDRAND or RDSEED instead for the RNG?
@legacywolf443
@legacywolf443 Күн бұрын
Most copies of Win XP are 32-bit, still able to run 16-bit programs, so you can just use the DEBUG command to create an EXE of: MOV AH, 4C INT 21 I think that'd be less than ten bytes
@reptarien
@reptarien 2 күн бұрын
Major-key ass Tetris lmao
@omegahaxors3306
@omegahaxors3306 2 күн бұрын
The smallest possible exe is one containing only the phrase "This program cannot be run in DOS mode"
@Daniel15au
@Daniel15au 23 сағат бұрын
8:14 you just offended a whole generation of people that played DOS games on Windows 9x lol
@il-dottore
@il-dottore 2 күн бұрын
06:43 YOOO GUN NAC OST!!! But anyways, very impressive I didn't know they added some ANSI stuff back in, considering how ass BBSes look with MS Telnet Client
@thfrussia6717
@thfrussia6717 Күн бұрын
I want to practice a bit assembly. I chose at first old versions Z80 and MS-DOS. So I made my first empty exe file under DOS with TASM assembler and it weights 500 bytes.
@JimnyVR5
@JimnyVR5 2 күн бұрын
Congrats on 100k subs! Time to get a new mic :)
@soryabuscompany
@soryabuscompany 2 күн бұрын
Maybe the real EXE was the friends we made along the way
@thetaleteller4692
@thetaleteller4692 Күн бұрын
Actually the smallest possible .EXE is 97 bytes.
@friedrichdergroe9664
@friedrichdergroe9664 15 сағат бұрын
A colleague and I once created a small Amiga Hello World executable. I think we got it down to 33 bytes or smaller.
@xWatexx
@xWatexx 2 күн бұрын
Kinda funny that some of the smallest Windows executables are larger than the entirety of DOS nowadays.
@DrBreyn
@DrBreyn 20 сағат бұрын
So - Why didn't you show you running those two programs at the end? I saw that you developed them, but it would have been fun and rewarding seeing the two files actually in your explorer and you comparing their sizes and clicking on them to play the game. That's, like, one minute max
@thewelder3538
@thewelder3538 2 күн бұрын
Just as a comment here, you don't want to do things like cmp al, 0. The reason is simple. You're comparing an immediate value and that value has to be stored in the instruction. Since you're only interested in the flags, you should test al, al whereby the assembly doesn't need to store the immediate value and it will set the flags for you to branch against.
@InkboxSoftware
@InkboxSoftware 2 күн бұрын
Thanks, I had forgot about TEST, looks like I can shave off a few more bytes
@thewelder3538
@thewelder3538 Күн бұрын
@@InkboxSoftware Well when you've done as much assembly as I have and enter 4k/64k demo competitions at Revision and other parties, every byte does indeed matter! Good video though.
@mc4ndr3
@mc4ndr3 8 сағат бұрын
with ROP the right jump instruction is turing complete. that's an executable in some scant bytes.
@pumarega
@pumarega 2 күн бұрын
"A-N-S-I" lol
@kilrahvp
@kilrahvp 2 күн бұрын
The installer for Davinci Resolve 18.6.4 is 2 156 754 704 bytes. They finally had to separate it into a small exe and an external dat file for 18.6.5.
@Nachos-sk7od
@Nachos-sk7od 13 сағат бұрын
15:08 I love the piano.exe😆
@cricri593
@cricri593 10 сағат бұрын
I remember in the dos there was an exe compressor which made them small 0 headers filled with 0 and almost impossible to disassemble but it worked without being uncompressed
@BookInBlackEWOW
@BookInBlackEWOW 2 күн бұрын
100k subs?! Congrats!
@BAgodmode
@BAgodmode 2 күн бұрын
Ahh Willy Gates, he’s my dude, he’s my connect for that dank sticky icky and Bolivian marching powder.
@IscleGaming
@IscleGaming 2 күн бұрын
I wasn't expecting Ibai to be in this video @ 1:43
@ZeronTheXeon
@ZeronTheXeon 11 сағат бұрын
Dude, absolutely awesome video, your editing is next-level
@Axcille
@Axcille 2 күн бұрын
7:15 you wont believe whats the 2nd-3rd most popular game on steam
@magicsweet
@magicsweet 2 күн бұрын
so uh it's 3:14 in the morning already
@isc42069
@isc42069 Күн бұрын
idk if ive every subscribed to a channel based off 1 video faster than the 40 seconds this took
@code123ns
@code123ns 2 күн бұрын
In DOS, the smallest EXE that will do something is 2 bytes. If an EXE contains "@e" it will reboot the computer when run.
@Drysart
@Drysart 2 күн бұрын
That sounds more like a COM file. EXE files *must* start with "MZ" to be valid; and then also contain a header (very similar to the one used by EXE files for Windows). COM files, on the other hand, were literally just something DOS loaded into a page of memory and then jumped to the first byte of. The smallest valid COM file is 1 byte, the encoding of the "RET" instruction (hex code C3). That would just immediately terminate and return control to DOS.
@pdr.
@pdr. 2 күн бұрын
Last time I used DOS/Windows (c. late 1994), you could rename a .COM file to .EXE (and vice versa) with no effect on how it would run.
@rashidisw
@rashidisw 2 күн бұрын
@@pdr. Back then they do checks for header within the file content instead of fully reliant on file extension.
@code123ns
@code123ns 2 күн бұрын
@@Drysart i know.. but I didn't say it was valid :D I discovered this as a kid who didn't have any compilers, but desperatly wanted to make my own exe. So, as all kids do, I just renamed a BAT to EXE to see what would happen 🤔 the first line was... .@echo off 😀 and the result was that it would restart when I run it. I progressively deleted stuff until I was left with just @e and it would still do the same.
@maxmuster7003
@maxmuster7003 Күн бұрын
A DOS executable com file with a nop instructions = 1 byte file size.😂
@jmm1233
@jmm1233 2 күн бұрын
smallest code i was thinking of while watching was a asm register input adder and syscall to quit
@elragonzo6687
@elragonzo6687 2 күн бұрын
Great Video! Now please create an game in assembly that makes real use of all 1,996,488,704 bytes : )
@WohaoG
@WohaoG Күн бұрын
I want a 5 minnute apology for pronouncing ANSI as A N S I and a reupload with it pronounced correctly
@rubberduck4966
@rubberduck4966 2 күн бұрын
exe has already been used in DOS - please consider that!
@RobinLeGaming
@RobinLeGaming 20 сағат бұрын
EXE doesn't actually indicate a PE file. It may contain an early MS-DOS MZ, an MS-DOS 4.0 New Executable or a modern Portable Executable.
@mrkosmos9421
@mrkosmos9421 2 күн бұрын
Wait, there's XP compatibility mode on Windows 10...
@BestGameDesigner
@BestGameDesigner 2 күн бұрын
It's possible to set a flag that allows the exe to be 4GB.
@tyreni
@tyreni 2 күн бұрын
Grats on 100k in advance!
@user-no7st2td6t
@user-no7st2td6t Күн бұрын
Some games can weight 128gb+, but still can be opened (with one modified thing)
@Ben79k
@Ben79k Күн бұрын
Yeah that's definitely one of the CISC instructions of all time
@Cart1416
@Cart1416 2 күн бұрын
what is the smallest possible program on Linux?
@rubberduck4966
@rubberduck4966 2 күн бұрын
the asmutils are mostly way below 1 kByte.
@kailashkatheth1871
@kailashkatheth1871 18 сағат бұрын
this guy is good friend with so many things
Testers Didn't Like My Game So I Fixed It
17:49
AngeTheGreat
Рет қаралды 82 М.
I built my own 16-Bit CPU in Excel
16:28
Inkbox
Рет қаралды 1,4 МЛН
Wait for the last one! 👀
00:28
Josh Horton
Рет қаралды 115 МЛН
My little bro is funny😁  @artur-boy
00:18
Andrey Grechka
Рет қаралды 8 МЛН
Children deceived dad #comedy
00:19
yuzvikii_family
Рет қаралды 6 МЛН
СНЕЖКИ ЛЕТОМ?? #shorts
00:30
Паша Осадчий
Рет қаралды 8 МЛН
I Made a Neural Network with just Redstone!
17:23
mattbatwings
Рет қаралды 666 М.
Why is HD 1080p? | Nostalgia Nerd
20:59
Nostalgia Nerd
Рет қаралды 154 М.
I Recreated This OLD ARCADE GAME in Excel
8:21
PaulVee
Рет қаралды 2,2 М.
Reverse Engineering Game Code from the Neutral Zone
40:59
Retro Game Mechanics Explained
Рет қаралды 543 М.
The Linux Experience
31:00
Bog
Рет қаралды 346 М.
Your Keyboard Cannot Comprehend These Noodles
12:27
Inkbox
Рет қаралды 312 М.
How A Steam Bug Deleted Someone’s Entire PC
11:49
Kevin Fang
Рет қаралды 906 М.
How NES Games Are STILL Made in 40KB
14:33
Inkbox
Рет қаралды 97 М.
Is 8-Bit Minecraft Possible?
13:56
Inkbox
Рет қаралды 1,1 МЛН
This Abandoned Project Haunted Me for Years…
19:57
Inkbox
Рет қаралды 98 М.
В России ускорили интернет в 1000 раз
0:18
Короче, новости
Рет қаралды 349 М.
Lid hologram 3d
0:32
LEDG
Рет қаралды 9 МЛН
💅🏻Айфон vs Андроид🤮
0:20
Бутылочка
Рет қаралды 739 М.