Notice: You have been identified as a bot, so no internal UID will be assigned to you. If you are a real person messing with your useragent, you should change it back to something normal.

Minichan

Topic: X86 assembly

Anonymous A started this discussion 19 hours ago #132,729

Which syntax do you prefer?
Poll option Votes Percentage Graph
- 0%
- 0%

Anonymous A (OP) double-posted this 19 hours 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 19 hours 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 18 hours 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 18 hours 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 18 hours 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 18 hours 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.
:

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