Documentation ¶
Overview ¶
Package z80asm contains a text-based z80 assember. The format of input files can be found in the README.md file.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Assembler ¶
type Assembler struct {
// contains filtered or unexported fields
}
An Assembler can assemble Z80 instructions into RAM.
func NewAssembler ¶
func NewAssembler(opts ...AssemblerOpt) (*Assembler, error)
NewAssembler constructs a new assembler. By default, the assembler will assemble code starting at address 0x8000.
func (*Assembler) AssembleFile ¶
AssembleFile reads the named file, and assembles it as z80 instructions.
func (*Assembler) GetConst ¶
GetConst returns the value of the given const. It is only valid after the assembler has run.
type AssemblerOpt ¶
type AssemblerOpt func(*assemblerOption) error
func UseNextCore ¶
func UseNextCore(core Z80Core) AssemblerOpt
UseNextCore include Z80N opcodes for the given core.
Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
z80asm
Binary z80asm is a z80 assembler.
|
Binary z80asm is a z80 assembler. |
Package z80io can write z80 binary images.
|
Package z80io can write z80 binary images. |
Package z80test allows you to write test cases for z80 code.
|
Package z80test allows you to write test cases for z80 code. |
z80
The z80 package implements a Zilog Z80 emulator.
|
The z80 package implements a Zilog Z80 emulator. |
Click to show internal directories.
Click to hide internal directories.