options

package
v0.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 6, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package options contains the program options.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Disassembler

type Disassembler struct {
	Assembler   string        // what assembler to use
	CodeDataLog io.ReadCloser // Code/Data log file to parse

	CodeOnly       bool
	HexComments    bool
	OffsetComments bool
	ZeroBytes      bool
}

Disassembler defines options to control the disassembler.

func NewDisassembler

func NewDisassembler(assemblerName string) Disassembler

NewDisassembler returns a new options instance with default options.

type Program

type Program struct {
	Assembler   string
	Batch       string
	Input       string
	Output      string
	CodeDataLog string

	AssembleTest bool
	Debug        bool
	Quiet        bool

	NoHexComments bool
	NoOffsets     bool
}

Program options of the disassembler.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL