Writing clean Assembly

I moved some stuff around so it's here now
github.com/faissaloo/x86-asm-hello-world

It's not, otherwise it would not take 4 lines to explain a simple print.
That's what is wrong with that code, 90% of the complexity is implementation details.
Also "macros are not functions" is semantic autism in this case.


Also you need to test for many various lenghts to see how well things scale.

What makes you think I care? I'm not the one who larps as a glow nigger ada programmer. And no, it's not. Without government funding and continued support in the form of outrageous government-priced license fees ada would not even exist.

Oh, now you are arguing semantics? Get lost dude. user (you) asked for an explanation for someone who doesn't program. It's an entirely different explanation to someone who does program.
The only thing missing from this code are comments, like explaining "4" is the syscall for write, or that "1" is the system fp for stdout.
You might want to get some tums because you are green from jealousy.
And you are saying I am arguing semantics. Don't walk behind this guy because it stinks.

Ada was (and is) designed by a committee.


GNAT is a free Ada compiler and it's free software. The compiler is free and so are the standards. So what's your point, nigger?

The entire point was, something as conceptually simple as print has to be so simple even without any tech background can understand it.
OP's print has side effects, which is anything but simple.
Stay salty tho.

If I ever want try do assembly should I just start with 6502?

Side effects don't matter until you have a situation where they do. This is autism.

I would start with Z80 or ARM.

I am not the one salty. You are the one moving goal posts.