-
-
07 Jul 2019 00:25:45 UTC
- Distribution: CPU-Z80-Disassembler
- Module version: 0.07
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues (0)
- Testers (404 / 3 / 6)
- Kwalitee
Bus factor: 0- 93.72% Coverage
- License: perl_5
- Perl: v5.10.0
- Activity
24 month- Tools
- Download (1,004.97KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
and 1 contributors- Paulo Custodio <pscust@cpan.org
- Dependencies
- Asm::Z80::Table
- Bit::Vector
- CPU::Z80::Assembler
- Class::Accessor
- File::Slurp
- Path::Tiny
- Test::More
- Test::Output
- Tie::File
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
CPU::Z80::Disassembler::Format - Format output of disassembler
SYNOPSYS
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);
DESCRIPTION
Exports functions to format output values in the disassembler listing.
EXPORTS
Exports all functions by default.
FUNCTIONS
format_hex
Returns the string representation of a value in hexadecimal..
format_hex2
Returns the string representation of a byte in hexadecimal as $HH.
format_hex4
Returns the string representation of a word in hexadecimal as $HHHH.
format_bin8
Returns the string representation of a word in binary as %01010101.
format_dis
Returns the string representation of a signed byte in hexadecimal as +$HH, -$HH or empty string for zero.
format_str
Returns the string representation of an assembly string: double-quoted, all double-quotes inside are escaped.
BUGS, FEEDBACK, AUTHORS, COPYRIGHT and LICENCE
Module Install Instructions
To install CPU::Z80::Disassembler, copy and paste the appropriate command in to your terminal.
cpanm CPU::Z80::Disassembler
perl -MCPAN -e shell install CPU::Z80::Disassembler
For more information on module installation, please visit the detailed CPAN module installation guide.