CPU::Z80::Disassembler::Format - Format output of disassembler
use CPU::Z80::Disassembler::Format; print format_hex($x), format_hex2($x), format_hex4($x); format_bin8($x); print format_dis($x), format_str($x);
Exports functions to format output values in the disassembler listing.
Exports all functions by default.
Returns the string representation of a value in hexadecimal..
Returns the string representation of a byte in hexadecimal as $HH.
Returns the string representation of a word in hexadecimal as $HHHH.
Returns the string representation of a word in binary as %01010101.
Returns the string representation of a signed byte in hexadecimal as +$HH, -$HH or empty string for zero.
Returns the string representation of an assembly string: double-quoted, all double-quotes inside are escaped.
See CPU::Z80::Disassembler.
To install CPU::Z80::Disassembler, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CPU::Z80::Disassembler
CPAN shell
perl -MCPAN -e shell install CPU::Z80::Disassembler
For more information on module installation, please visit the detailed CPAN module installation guide.