Comment on Introduction to Linux Intel Assembly LanguageComments−duaneb14yI thought, for a moment, that there was a dialect of assembly language in some way related to the kernel.−ajross14yThere sort of is. The kernel is one of the few places where gas is assumed and AT&T syntax prevails. Tutorials for "x86 assembly" in general almost always use the incompatible Intel syntax.(They both suck, by the way. Just in different ways.)−mahmud14yGAS is verbose but is "strongly typed", in a Willy-Wonka Hungarian-notation sort of a way.
Comments
I thought, for a moment, that there was a dialect of assembly language in some way related to the kernel.
There sort of is. The kernel is one of the few places where gas is assumed and AT&T syntax prevails. Tutorials for "x86 assembly" in general almost always use the incompatible Intel syntax.
(They both suck, by the way. Just in different ways.)
GAS is verbose but is "strongly typed", in a Willy-Wonka Hungarian-notation sort of a way.