Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OpcodeStrings ¶
func OpcodeStrings() []string
OpcodeStrings returns a slice of all String values of the enum
func RegStrings ¶
func RegStrings() []string
RegStrings returns a slice of all String values of the enum
Types ¶
type Opcode ¶
type Opcode int
func OpcodeString ¶
OpcodeString retrieves an enum value from the enum constants string name. Throws an error if the param is not part of the enum.
type Reg ¶
type Reg uint
const ( Zero Reg = iota RA // R1 BP // R2 SP // R3 A0 // R4 A1 // R5 A2 // R6 A3 // R7 A4 // R8 A5 // R9 A6 // R10 A7 // R11 T0 // R12 T1 // R13 T2 // R14 T3 // R15 T4 // R16 T5 // R17 T6 // R18 T7 // R19 T8 // R20 T9 // R21 S0 // R22 S1 // R23 S2 // R24 S3 // R25 S4 // R26 S5 // R27 S6 // R28 S7 // R29 S8 // R30 S9 // R31 )
func RegString ¶
RegString retrieves an enum value from the enum constants string name. Throws an error if the param is not part of the enum.
Click to show internal directories.
Click to hide internal directories.