Notice: Welcome to Minichan, an account has automatically been created and assigned to you, you don't have to register or log in to use the board, but don't clear your cookies unless you have set a memorable name and password. Alternatively, you can restore your ID.

Minichan

Topic: X86 assembly

Anonymous A started this discussion 1 week ago #132,729

Which syntax do you prefer?
Poll option Votes Percentage Graph
Intel - 0%
AT&T - 0%
You need more posts to be allowed to vote.

Anonymous A (OP) double-posted this 1 week ago, 3 minutes later[^] [v] #1,416,356

I love how many addressing modes there are and how they’re written like ADD $10 8(%rax)

But you don’t multiply 8 by %rax, you add it.

That’s so genius to redefine how fucking math works for no reason!

Anonymous B joined in and replied with this 1 week ago, 19 minutes later, 23 minutes after the original post[^] [v] #1,416,358

@previous (A)
Just because you don't understand it, doesn't mean it doesn't make sense.

Anonymous C joined in and replied with this 1 week ago, 25 minutes later, 48 minutes after the original post[^] [v] #1,416,369

@previous (B)
The syntax is inherently arbitrary… which is why there are two alternate syntaxes to represent the same language. There’s literally no reason why you can’t represent it another way.

Anonymous B replied with this 1 week ago, 27 minutes later, 1 hour after the original post[^] [v] #1,416,372

@previous (C)
I have spent 17 years in embedded systems development and you have no idea what you're on about.

Just open up "Programming from the Ground Up" by Jonathan Bartlett if you're new and that will cover why the syntax was picked.

Anonymous D joined in and replied with this 1 week ago, 15 minutes later, 1 hour after the original post[^] [v] #1,416,374

@previous (B)
Which syntax? Because the other one does it the other way.

Anonymous D double-posted this 1 week ago, 3 minutes later, 1 hour after the original post[^] [v] #1,416,375

Anyway, I don’t get the point in being offended about it, there’s no right or wrong way, there are just two different ways to do the same thing. I was joking, I don’t actually care.
:

You are required to fill in a captcha for your first 5 posts. That's only 5 more! We apologize, but this helps stop spam.

Please familiarise yourself with the rules and markup syntax before posting.