INTEL2GAS(1)
π INTEL2GAS(1) π
okay bestie, gather round, because we're talking about intel2gas β a little section 1 (General Commands Manual) girlie who does the absolute most when it comes to moving your assembly back and forth. no cap. π¦
β¨ NAME β¨
intel2gas β convert between NASM assembly and GAS assembly language
πΈ SYNOPSIS πΈ
intel2gas [-higmtcIdV] [-o outfile] [infile]
π DESCRIPTION π
so, real talk: this manual page is a brief lil rundown of the intel2gas command, nothing more. it literally exists because the Debian GNU/Linux distribution needed one β the original program doesn't ship with a manual page at all. so Alexander said "fine, I'll do it myself" and here we are. πββοΈ
intel2gas is a small text parser, and her whole job is converting assembler source written in NASM syntax over to gas syntax. and ngl, these days she's doing it the other way around way more often too. versatile queen. π₯
π OPTIONS π
-hβ show a summary of the options. the vibe check, basically.-iβ convert from intel to at&t format. this one's the default, so it's giving main character energy. π-gβ convert from at&t to intel format.-mβ convert from masm to at&t format.-tβ convert from tasm to at&t format.-cβ understand C style comments. she's cultured like that. β¨-Iβ convert inline assembler (intel to at&t only, okay? only that direction, don't get cute).-dβ output all%chars as%%. yes, every single one. doubled. iconic behavior.-Vβ show version.
psst, also peep the synopsis:-o outfileis there to pick where the output lands, andinfileis the thing you're feeding her. π«Ά
π ENVIRONMENT π
I2G_DATAβ set this if the syntax files aren't chilling in their default location. the value should be a path pointing to the directory that holds the subdirectoriesg2i,i2gandm2g. basically: "bestie, the files are over here." π
π FILES π
/usr/share/intel2gas/{g2i,i2g,m2g}/*β syntaxfiles for the translation.
π§ SEE ALSO π§
there's some other documentation floating around in the files README, INSTALL and DATAFILES, and they reside in /usr/share/doc/intel2gas. go read them, i promise they're not boring. (they might be a little boring. still read them.) π
π AUTHORS π
the author of the program is Mikko Tiihonen <mikko.tiihonen@hut.fi>. π«Ά
this manual page was written by Alexander Zangerl <az@snafu.priv.at>, for the Debian GNU/Linux system β but it may be used by others, so share the love, it's not gatekept. π
aaaand that's the whole page, bestie. intel2gas(1), straight out of the General Commands Manual, exactly as the footer says. slay, go convert some assembly, mwah π
β¨
π¦ where this page comes from
- debian bookworm: intel2gas 1.3.3-17+b1
- debian trixie: intel2gas 1.3.3-20
- ubuntu jammy: intel2gas 1.3.3-17build1
- ubuntu noble: intel2gas 1.3.3-19
- ubuntu questing: intel2gas 1.3.3-20
- ubuntu resolute: intel2gas 1.3.3-21
- ubuntu stonking: intel2gas 1.3.3-21
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms