pasm

package
v0.0.0-...-0190f1d Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2014 License: BSD-2-Clause, BSD-3-Clause Imports: 6 Imported by: 0

README

This is a repackaging of pasm that is wrapped in the library.

This allows "jitting" and makes tests much easier

Documentation

Index

Constants

View Source
const (
	OPTION_BINARY        = C.OPTION_BINARY
	OPTION_BINARYBIG     = C.OPTION_BINARYBIG
	OPTION_CARRAY        = C.OPTION_CARRAY
	OPTION_IMGFILE       = C.OPTION_IMGFILE
	OPTION_DBGFILE       = C.OPTION_DBGFILE
	OPTION_LISTING       = C.OPTION_LISTING
	OPTION_DEBUG         = C.OPTION_DEBUG
	OPTION_BIGENDIAN     = C.OPTION_BIGENDIAN
	OPTION_RETREGSET     = C.OPTION_RETREGSET
	OPTION_SOURCELISTING = C.OPTION_SOURCELISTING

	CORE_NONE = C.CORE_NONE
	CORE_V0   = C.CORE_V0
	CORE_V1   = C.CORE_V1
	CORE_V2   = C.CORE_V2
	CORE_V3   = C.CORE_V3
)

Variables

This section is empty.

Functions

func Assemble

func Assemble(assembly string) (image []byte, err error)

func ForceAssemble

func ForceAssemble(assembly string) (image []byte)

Panics if there's an error. Useful for consts, etc

Types

This section is empty.

Jump to

Keyboard shortcuts

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