GPDASM(1)
π gpdasm β GNU PIC disassembler π
okay bestie, sit DOWN, because we're about to talk about gpdasm from the Linux user's manual, section 1 (yes, the executable-commands one, very main character of it). π
β¨ SYNOPSIS β¨
gpdasm [options] file
that's it. that's the whole vibe. options go in, a file goes in, magic comes out. π¦
π¨ WARNING π¨
okay so real talk for a sec, and I need you to actually read this one because it's giving disclaimer energy:
The info in this man page is an extract from the full documentation ofgputils, and it is limited to the meaning of the options. For the complete and current documentation, go readgputils.pswhich lives in thegputilsdocs directory. no cap, the full docs are the moment, this page is the trailer. π
πΈ DESCRIPTION πΈ
So gpdasm is a disassembler for Microchip (TM) PIC (TM) micro-controllers. It's literally part of gputils. If you wanna know about the other GNU PIC utilities in the family, check the gputils(1) manpage β they're all siblings and they all ate. π
π OPTIONS π
okay here's the whole menu, every single one, no skips, no shortcuts:
-c,--mnemonicsβ decode the special mnemonics. β¨-h,--helpβ show this usage message and then exit. polite king behavior.-i,--hex-infoβ report extra info about the input hex file. and by "extra info" we mean file size and hex format. the deets, the tea. π-j,--mov-fsrnβ in theMOVIWorMOVWIinstructions, show theFSRnregister as the base instead of theINDFn. the default here is[INDFn]. π«-kFILE,--label-listFILE β a file that lists the names and addresses of the labels in the disassembled program code. (works with the-n,-oand-soptions.)-l,--list-chipsβ list the supported processors. roster drop. π-m,--dumpβ display the contents of instruction memory. all of it. spill.-n,--show-namesβ for some cases of SFR, shows the name instead of the address. plus it also shows the labels. so many names, so iconic. π-o,--show-configβ show theCONFIGandIDLOCSβ or__idlocsβ directives.-pPROC,--processorPROC β select the processor. you gotta tell it who it's dealing with. π-s,--shortβ output the short format. this format can be reassembled bygpasm. (also see the-k,-nand-ooptions.) the round-trip is real. π₯-t,--use-tabβ uses the tabulator character in the written text. tabs > spaces, fight me. π€-v,--versionβ show the version information and exit.-y,--extendedβ enable 18xx extended mode. turning it up to 18xx, slay.--strictβ disassemble only opcodes generated bygpasmin the case of instructions with several opcodes. picky on purpose, and honestly? valid.--strict-optionsβ if this is set, then an option may not be a parameter of another option. for example:-p --dump. nope, not happening, we don't do nesting here. π
π SEE ALSO π
gputils(1)β go say hi to the rest of the family.
π«Ά AUTHOR π«Ά
- Craig Franklin
<craigfranklin@users.sourceforge.net> - Molnar Karoly
<molnarkaroly@users.sourceforge.net>
absolute legends, both of them. π
π COPYRIGHT π
Copyright (C) 2002, 2003, 2004, 2005 Craig Franklin
Copyright (C) 2014 Molnar Karoly
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
yes bestie, the ALL CAPS warranty bits stay ALL CAPS, that's a legal thing, we do not soften the legalese, we just vibe around it. π
and that's the whole page!! this one's from gputils-1.5.2, dated 2016-02-28 β a vintage classic, still eating, still serving. bye bestie, go disassemble something. πβ¨π
π¦ where this page comes from
- arch rolling: gputils 1.5.2-2 Β· GPL
- debian trixie: gputils 1.5.2-1
- fedora 43: gputils 1.5.2-9.fc43 Β· GPL-2.0-or-later
- fedora 44: gputils 1.5.2-10.fc44 Β· GPL-2.0-or-later
- nixos 26.05: gputils 1.5.2
- nixpkgs unstable: gputils 1.5.2
- opensuse-leap 16.0: gputils 1.5.2-bp160.1.13 Β· GPL-2.0-or-later
- opensuse-leap 16.0: gputils 1.5.2-bp160.1.13 Β· GPL-2.0-or-later
- opensuse-leap 16.0: gputils 1.5.2-bp160.1.13 Β· GPL-2.0-or-later
- opensuse-leap 16.0: gputils 1.5.2-bp160.1.13 Β· GPL-2.0-or-later
- ubuntu questing: gputils 1.5.2-2
- ubuntu resolute: gputils 1.5.2-2build1
- ubuntu stonking: gputils 1.5.2-2build1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms