-
-
06 Jul 2019 22:46:02 UTC
- Distribution: CPU-Z80-Assembler
- Module version: 2.18
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Repository
- Issues (1)
- Testers (445 / 0 / 6)
- Kwalitee
Bus factor: 1- 97.18% Coverage
- License: perl_5
- Perl: v5.10.0
- Activity
24 month- Tools
- Download (155.54KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
++ed by:1 non-PAUSE user- NAME
- SYNOPSIS
- DESCRIPTION
- EXPORTS
- FUNCTIONS
- BUGS and FEEDBACK
- SEE ALSO
- AUTHORS, COPYRIGHT and LICENCE
NAME
CPU::Z80::Assembler::Segment - Represents one segment of assembly opcodes
SYNOPSIS
use CPU::Z80::Assembler::Segment; my $segment = CPU::Z80::Assembler::Segment->new( name => $name, address => 0, line => $line, child => [$opcode, ...]); $self->add(@opcodes);
DESCRIPTION
This module defines the class that represents one continuous segment of assembly instruction opcodes CPU::Z80::Assembler::Opcode.
EXPORTS
Nothing.
FUNCTIONS
new
Creates a new object, see Class::Struct.
child
Each child is one CPU::Z80::Assembler::Opcode object.
name
Get/set of segment name.
address
Get/set of base address of the segment.
line
Get/set the line - text, file name and line number of the start of the segment.
add
Adds the opcodes to the segment. The line of the first opcode added is copied to the segment for error messages.
BUGS and FEEDBACK
See CPU::Z80::Assembler.
SEE ALSO
CPU::Z80::Assembler CPU::Z80::Assembler::Opcode Asm::Preproc::Line Class::Struct
AUTHORS, COPYRIGHT and LICENCE
See CPU::Z80::Assembler.
Module Install Instructions
To install CPU::Z80::Assembler, copy and paste the appropriate command in to your terminal.
cpanm CPU::Z80::Assembler
perl -MCPAN -e shell install CPU::Z80::Assembler
For more information on module installation, please visit the detailed CPAN module installation guide.