fcml-asm(1)

πŸ’– fcml-asm β€” the single-line assembler πŸ’–

okay bestie, welcome to the General Commands Manual entry for fcml-asm, and no cap, this one is a whole mood. it's a single-line assembler, it's iconic, and it's about to be your new hyperfixation πŸ¦‹


✨ NAME ✨

fcml-asm β€” single-line assembler πŸ’…


🌸 SYNOPSIS 🌸

fcml-asm [-abs] [-sib] [-rex] [-all] [-gas] [-asa<size>] [-osa<size>]
-m<size> -ip <address> <instruction>

πŸŽ€ DESCRIPTION πŸŽ€

so like, fcml-asm is a single-line assembler for Intel iAPx86, IA-32 and EM64T CPUs β€” and honestly? also for compatible CPUs from other manufacturers, because it's generous like that 🫢

and the way that it works is: you hand it one (1) assembly-language instruction, and it shows you all possible encodings of it. all of them. every last one. it's giving "here's the whole menu, bestie, pick your fave" 😭✨


πŸ’… OPTIONS πŸ’…

fcml-asm accepts the following options, and yes we're going through every single one because we don't skip:

  • -abs β€” prefer absolute memory addressing where possible. this one is especially useful in 64-bit mode, for RIP addressing. lowkey a lifesaver there πŸ”₯
  • -sib β€” prefer encoding using a SIB byte (scale * index + base). it's the little byte that could πŸ’œ
  • -rex β€” use a REX prefix even if it is optional. optional? never heard of her. we're using it anyway πŸ‘‘
  • -all β€” return all possible forms of the instruction. go big or go home, periodt.
  • -gas β€” use GNU Assembler dialect (also known as AT&T). heads up though: the Intel dialect is used by default, so if you want AT&T you gotta ask for it πŸŽ€
  • -asa<size> β€” specify the size of the address size attribute (16, 32 or 64 for respectively 16, 32 and 63 bits). yes bestie, 63 bits, that's what it says, I'm just the messenger πŸ’€
  • -osa<size> β€” specify the size of the operand size attribute (16, 32 or 64 for respectively 16, 32 and 63 bits). same deal, same iconic 63 πŸ“
  • -m<size> β€” specify the addressing mode (16, 32 or 64). pick your fighter ✨
  • -ip <address> β€” specify the instruction pointer address (IP, EIP or RIP). yes queen, tell it where you are πŸ“

🫢 AUTHORS 🫢

fcml-asm was written by Slawomir Wojtasiak. absolute legend behavior, we love to see it πŸ’–

This manual page was written by Stephen Kitt <skitt@debian.org>, for the Debian GNU/Linux system (but may be used by others). sharing is caring, fr fr 🌈


and that's the whole vibe check, bestie 🧚 this page lives in the fcml manual, it's dated February 2, 2015, and it's filed under fcml-asm(1) β€” go forth and assemble, you main character πŸ’…βœ¨πŸŒΈ