disassembly

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2025 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Entry

type Entry struct {
	// copy of the CPU execution. must not be updated except through
	// updateExecutionEntry() function.
	//
	// not that the the Final field of execution.Result may be false is the
	// emulation is stopped mid-execution.
	Result execution.Result

	// string representations of information in execution.Result
	// entry.GetField() will apply white spacing padding suitable for columnation
	Bytecode string
	Address  string
	Operator string
	Operand  string
}

func FormatResult

func FormatResult(result execution.Result) *Entry

FormatResult creates an Entry for supplied result/bank. It will be assigned the specified EntryLevel.

If EntryLevel is EntryLevelExecuted then the disassembly will be updated but only if result.Final is true.

func (Entry) String

func (e Entry) String() string

Jump to

Keyboard shortcuts

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