It's not everyday the algorithm sends you to a video this useful with
@yukimoe
3 жыл бұрын
Very true. Did I win KZitem lottery?
@dantesalighieri
9 ай бұрын
Man, what a tremendous amount of studying and investigating you have done. My God...
@edgeeffect
3 жыл бұрын
Excellent.... I haven't seen anyone write machine code without an assembler (WITH an assembler is rare enough!) Since sometime around 1985.
@CZghost
Жыл бұрын
This is perfect! No need for assembly! Write the machine code directly!
@albertvanderhorst4160
8 ай бұрын
Brilliant. You score 8% upvote, which is high, so I'm not the only one.
@giovacolo1291
3 жыл бұрын
you are the jedi of binary
@mohammadaminsameti3122
3 жыл бұрын
Your pace is optimal, I learned after a rewatch but i can imagine getting it at the first time if being fluent enough.
@alik250
3 жыл бұрын
Fantastic presentation! I could follow along perfectly
@jatu4180
Жыл бұрын
You're a wizard, Harry
@baremetaltechtv
3 жыл бұрын
Subbed, keep up the good work
@Bolt2strike
3 жыл бұрын
Amazing stuff
@andreykolechko5911
3 жыл бұрын
Amazing
@Filaxsan
3 жыл бұрын
Great job!
@somedude5414
3 жыл бұрын
This is some coding badassery fun right here!
@KanjiasDev
Жыл бұрын
Nice that you builtin a little challenge to fix up the spelling :D I did it :)
@jonshouse1
3 жыл бұрын
"gcc -Wa,-adhln -g " would generate ASM with a list file. Would it be possible to merge that hex from the list file with the hand written ELF header, or is that missing the point ?
@davidsmith7791
3 жыл бұрын
I don't know. Haven't tried it. I want things to be simple and concrete. Gcc and assembly language seem to be unnecessary complications.
@reallyboringindividual
3 жыл бұрын
You need more subscriptions.
@minma02262
3 ай бұрын
I got the lottery
@NuclearC
3 жыл бұрын
The point of doing this is that handmade ELF's are smaller in size, right? But what if you just handwrite the object file and link it using LD? Would that still produce the same output?
@davidsmith7791
3 жыл бұрын
Small enough that we can understand them. I am avoiding the C and Unix tools. Too complicated. I was writing a Forth system using an assembler, and even assembly language rubbed me the wrong way.
@albertvanderhorst4160
8 ай бұрын
@@davidsmith7791 I have evolved figForth into ciforth. I agree that the usual assemblers are a pain. Then came fasm, and it generates elf headers that are really simple, as simple as you generate by hand. I use it ever since.
@KimTiger777
3 жыл бұрын
Do you know how to do the exact same thing with EXE-file?
@davidsmith7791
3 жыл бұрын
I do not.
@KimTiger777
3 жыл бұрын
@@davidsmith7791 Microsoft isn't good at documenting this kind of stuff 😒
@nicotw2000
3 жыл бұрын
@@KimTiger777 Is MS still using the PE/COFF format ?
@KimTiger777
3 жыл бұрын
@@nicotw2000 Yes. I see that MS has updated their documentation on PE format: docs.microsoft.com/nb-no/windows/win32/debug/pe-format#coff-file-header-object-and-image
@albertvanderhorst4160
8 ай бұрын
@@davidsmith7791 Once more fasm comes to the rescue. I generate wina (ciforth for Windows) using fasm on a linux system. It boils down to specifying ``PE FORMAT'' and including a single file with mostly macro definitions, (an insanely amount of macro's to be honest).
Пікірлер: 30