x86 Assembly: Hello World!

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

You know it's a hard language when the "Hello World!" video is almost 15 minutes.

owenwexler
Автор

"int"
Oh that's an integer, I know that
"That's an interrupt"

MarkoHR
Автор

why is Ed Sheeran writing Assembly in my recommendations?

mohammedalkhateem
Автор

it amazes me how you manage to look like both seth rogan and ed sheeran at the same time

brayden
Автор

I’ve dabbled in C programming a lot in the past but until I learned how assembly works I didn’t totally understand why some parts of the language works the way it does. Assembly is such an underrated language to learn. New programmers I feel get too used to abstraction from the hardware. It’s so useful for understanding how a processor does what it does.

klcrd
Автор

Even Hell needs a programming language.

zigginzag
Автор

"I'm on arch Linux"... Oh boy that's how you know hes for real

BeastinlosersHD
Автор

More assembly please, I would really like to learn it, your video goes straight to the point! And is really easy to follow

conejohh
Автор

Assembly: *how low can you go?*
Python: *how high you get?*

> Me: *stuck at boot in Arch*

GBGSK
Автор

Explanation of $-message syntax: $ means current location (i.e message_length) - address of message, gives difference between message and message_length = length of string. It only works if they are after one another.

puppe
Автор

* 25 lines of code * So that's how you write simple hello world program

realdragon
Автор

And to think this is how Rollercoaster Tycoon 2 was programmed, by one person

aidangarvey
Автор

11:45, as far as I know it's like this:
Code -> compiler -> assembly
Assembly -> assembler -> object
Object -> linker -> executable
Executable -> loader -> memory

fabiandtheink
Автор

John -
Love the way you’re doing this. Teaching by bringing the student along while you learn is a great technique, but it requires a teacher who isn’t afraid to share their “fumbling around”. Your total lack of egotism makes it a good experience. And you’re in good company: you remind me a little of Ippsec, who beats on things till he breaks them, with no shyness about describing his thought process.
My students are going to devour this. And want more.

SchoolforHackers
Автор

me before the video: "damn I hate low-level languages"
me after the video: "damn I *really hate* low-level languages"

leumgui
Автор

I'm convinced learning assembly is, in a weird way, like learning Latin. Both are the building blocks of modern languages. And you don't need to know assembly or Latin, but they sure as hell help you understand the nuances of other languages that are built off of them. Or maybe that made no sense, and I just need to go to sleep.

Michael-dbns
Автор

you know the meme that someone writes a hello world program and says "hackerman"?
if you can write a hello world program in assembly you can unironically call yourself a hacker

nikkehtine
Автор

"When your codes don't run like they used to before"

nathanabrogena
Автор

Regarding the '$' sign explanation at 03:37: that's not a weird notation. The '$' sign stands for "the current location" and may be used anywhere in the code (e.g. "jmp $" to make a jump-to-self infinite loop), so this is actually an address. Additionally, specifying a symbol name means taking its address [not value]; so now it easy to see that when writing "$-some_symbol" it simply means "take the current address and subtract some_symbol's address from it". When this is put right after the some_symbol, it would result in its size because the assembler [the program that converts Assembly code to binary] doesn't optimize anything and keep the symbols in the order you specified.

elicn
Автор

"oh that seems kinda easy"
> notices that this is just a hello world program and is only for a particular cpu
"...nvm"

samdvich