arm64

package
v0.0.0-...-27647ab Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2023 License: BSD-3-Clause, MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const DASM_MAXSECPOS = 25

Maximum number of section buffer positions for a single dasm_put() call.

View Source
const DASM_S_MATCH_SEC = 0x03000000
View Source
const DASM_S_NOMEM = 0x01000000
View Source
const DASM_S_OK = 0x00000000

DynASM encoder status codes. Action list offset or number are or'ed in.

View Source
const DASM_S_PHASE = 0x02000000
View Source
const DASM_S_RANGE_I = 0x11000000
View Source
const DASM_S_RANGE_LG = 0x13000000
View Source
const DASM_S_RANGE_PC = 0x14000000
View Source
const DASM_S_RANGE_REL = 0x15000000
View Source
const DASM_S_RANGE_SEC = 0x12000000
View Source
const DASM_S_RANGE_VREG = 0x16000000
View Source
const DASM_S_UNDEF_LG = 0x21000000
View Source
const DASM_S_UNDEF_PC = 0x22000000

Variables

This section is empty.

Functions

func DASM_POS2BIAS

func DASM_POS2BIAS(pos int) int

func DASM_POS2IDX

func DASM_POS2IDX(pos int) int

Macros to convert positions (8 bit section + 24 bit index).

func DASM_POS2SEC

func DASM_POS2SEC(pos int) int

func DASM_SEC2POS

func DASM_SEC2POS(sec int) int

Types

type Action

type Action int8
const (
	DASM_STOP Action = iota
	DASM_SECTION
	DASM_ESC
	DASM_REL_EXT
	// The following actions need a buffer position.
	DASM_ALIGN
	DASM_REL_LG
	DASM_LABEL_LG
	// The following actions also have an argument.
	DASM_REL_PC
	DASM_LABEL_PC
	DASM_REL_A
	DASM_IMM
	DASM_IMM6
	DASM_IMM12
	DASM_IMM13W
	DASM_IMM13X
	DASM_IMML
	DASM_IMMV
	DASM_VREG
	DASM__MAX
)

Jump to

Keyboard shortcuts

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