1MAIN.C(1) User Contributed Perl Documentation MAIN.C(1)
2
3
4
6 pbc_disassemble - parrot bytecode disassembler
7
9 pbc_disassemble [-bh?] [--bare|--header-only] [-o outfile] [file.pbc]
10
12 "pbc_disassemble" translates Parrot bytecode ("PBC") into Parrot
13 assembly language ("PASM").
14
15 "file.pbc" is the bytecode file to disassemble. If a file is not
16 specified, the bytecode will be read from "stdin". Additionally, if the
17 "-o" switch is not given, the output is displayed to "stdout".
18
20 -?, --help
21 Displays usage and help information.
22
23 -b, --bare
24 Displays bare PASM without the header and left column.
25
26 -h, --header-only
27 Displays only the constants table header.
28
29 -o filename, --output filename
30 Writes output to "filename".
31
33 "int main(int argc, const char *argv[])"
34 Execution entry point. Starts up an interpreter, loads the bytecode
35 from the command-line, and disassembles it.
36
37 "static void help(void)"
38 Prints out the user help information and exits.
39
40 "static void show_last_error_and_exit(Parrot_PMC interp)"
41 Prints out the "interp"'s last error and exits.
42
44 src/embed.c and src/debug.c.
45
47 Initial version by Daniel Grunblatt on 2002.5.26.
48
49 Florian Ragwitz: Moved POD documentation that's not necessary to know
50 how to actually run the disassembler to normal C comments (Wed, 16 Nov
51 2005).
52
53 Reini Urban: Renamed from disassemble to pbc_disassemble (2008-07-03).
54 Add options: help, -h, -o, --debug, --bare (2009-01-29)
55 Force option 1 for passing version check (2009-03-07)
56
57 Kevin Polulak (soh_cah_toa): Updated to use embedding API, moved source
58 file
59 to frontend/pbc_disassemble, and cleaned
60 up
61 source code and perldoc. (2011-06-19)
62
63
64
65perl v5.28.1 2016-02-15 MAIN.C(1)