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_POS2IDX ¶
Macros to convert positions (8 bit section + 24 bit index).
func DASM_POS2SEC ¶
func DASM_SEC2POS ¶
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 )
Click to show internal directories.
Click to hide internal directories.