disassemble

package
v0.0.0-...-03cd3b7 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DEC_BIMM12

func DEC_BIMM12(inst uint32) int32

func DEC_CSR

func DEC_CSR(inst uint32) uint32

func DEC_FM

func DEC_FM(inst uint32) uint32

func DEC_IMM12

func DEC_IMM12(inst uint32) int32

func DEC_IMM12HILO

func DEC_IMM12HILO(inst uint32) int32

func DEC_IMM20

func DEC_IMM20(inst uint32) int32

func DEC_JIMM20

func DEC_JIMM20(inst uint32) int32

func DEC_PRED

func DEC_PRED(inst uint32) uint32

func DEC_RD

func DEC_RD(inst uint32) uint32

func DEC_RS1

func DEC_RS1(inst uint32) uint32

func DEC_RS2

func DEC_RS2(inst uint32) uint32

func DEC_SHAMTW

func DEC_SHAMTW(inst uint32) uint32

func DEC_SUCC

func DEC_SUCC(inst uint32) uint32

func DEC_ZIMM

func DEC_ZIMM(inst uint32) uint32

Types

type OP_ADD

type OP_ADD struct {
	opcodes.OP_ADD
	// contains filtered or unexported fields
}

func ADD

func ADD(RD uint32, RS1 uint32, RS2 uint32, debug debuginfo.DebugInfo) OP_ADD

func DecodeADD

func DecodeADD(inst uint32) OP_ADD

func (OP_ADD) DebugInfo

func (o OP_ADD) DebugInfo() debuginfo.DebugInfo

func (OP_ADD) Opcode

func (o OP_ADD) Opcode() opcodes.Opcode

func (OP_ADD) String

func (o OP_ADD) String() string

type OP_ADDI

type OP_ADDI struct {
	opcodes.OP_ADDI
	// contains filtered or unexported fields
}

func ADDI

func ADDI(RD uint32, RS1 uint32, IMM12 int32, debug debuginfo.DebugInfo) OP_ADDI

func DecodeADDI

func DecodeADDI(inst uint32) OP_ADDI

func (OP_ADDI) DebugInfo

func (o OP_ADDI) DebugInfo() debuginfo.DebugInfo

func (OP_ADDI) Opcode

func (o OP_ADDI) Opcode() opcodes.Opcode

func (OP_ADDI) String

func (o OP_ADDI) String() string

type OP_AND

type OP_AND struct {
	opcodes.OP_AND
	// contains filtered or unexported fields
}

func AND

func AND(RD uint32, RS1 uint32, RS2 uint32, debug debuginfo.DebugInfo) OP_AND

func DecodeAND

func DecodeAND(inst uint32) OP_AND

func (OP_AND) DebugInfo

func (o OP_AND) DebugInfo() debuginfo.DebugInfo

func (OP_AND) Opcode

func (o OP_AND) Opcode() opcodes.Opcode

func (OP_AND) String

func (o OP_AND) String() string

type OP_ANDI

type OP_ANDI struct {
	opcodes.OP_ANDI
	// contains filtered or unexported fields
}

func ANDI

func ANDI(RD uint32, RS1 uint32, IMM12 int32, debug debuginfo.DebugInfo) OP_ANDI

func DecodeANDI

func DecodeANDI(inst uint32) OP_ANDI

func (OP_ANDI) DebugInfo

func (o OP_ANDI) DebugInfo() debuginfo.DebugInfo

func (OP_ANDI) Opcode

func (o OP_ANDI) Opcode() opcodes.Opcode

func (OP_ANDI) String

func (o OP_ANDI) String() string

type OP_AUIPC

type OP_AUIPC struct {
	opcodes.OP_AUIPC
	// contains filtered or unexported fields
}

func AUIPC

func AUIPC(RD uint32, IMM20 int32, debug debuginfo.DebugInfo) OP_AUIPC

func DecodeAUIPC

func DecodeAUIPC(inst uint32) OP_AUIPC

func (OP_AUIPC) DebugInfo

func (o OP_AUIPC) DebugInfo() debuginfo.DebugInfo

func (OP_AUIPC) Opcode

func (o OP_AUIPC) Opcode() opcodes.Opcode

func (OP_AUIPC) String

func (o OP_AUIPC) String() string

type OP_BEQ

type OP_BEQ struct {
	opcodes.OP_BEQ
	// contains filtered or unexported fields
}

func BEQ

func BEQ(BIMM12 int32, RS1 uint32, RS2 uint32, debug debuginfo.DebugInfo) OP_BEQ

func DecodeBEQ

func DecodeBEQ(inst uint32) OP_BEQ

func (OP_BEQ) DebugInfo

func (o OP_BEQ) DebugInfo() debuginfo.DebugInfo

func (OP_BEQ) Opcode

func (o OP_BEQ) Opcode() opcodes.Opcode

func (OP_BEQ) String

func (o OP_BEQ) String() string

type OP_BGE

type OP_BGE struct {
	opcodes.OP_BGE
	// contains filtered or unexported fields
}

func BGE

func BGE(BIMM12 int32, RS1 uint32, RS2 uint32, debug debuginfo.DebugInfo) OP_BGE

func DecodeBGE

func DecodeBGE(inst uint32) OP_BGE

func (OP_BGE) DebugInfo

func (o OP_BGE) DebugInfo() debuginfo.DebugInfo

func (OP_BGE) Opcode

func (o OP_BGE) Opcode() opcodes.Opcode

func (OP_BGE) String

func (o OP_BGE) String() string

type OP_BGEU

type OP_BGEU struct {
	opcodes.OP_BGEU
	// contains filtered or unexported fields
}

func BGEU

func BGEU(BIMM12 int32, RS1 uint32, RS2 uint32, debug debuginfo.DebugInfo) OP_BGEU

func DecodeBGEU

func DecodeBGEU(inst uint32) OP_BGEU

func (OP_BGEU) DebugInfo

func (o OP_BGEU) DebugInfo() debuginfo.DebugInfo

func (OP_BGEU) Opcode

func (o OP_BGEU) Opcode() opcodes.Opcode

func (OP_BGEU) String

func (o OP_BGEU) String() string

type OP_BLT

type OP_BLT struct {
	opcodes.OP_BLT
	// contains filtered or unexported fields
}

func BLT

func BLT(BIMM12 int32, RS1 uint32, RS2 uint32, debug debuginfo.DebugInfo) OP_BLT

func DecodeBLT

func DecodeBLT(inst uint32) OP_BLT

func (OP_BLT) DebugInfo

func (o OP_BLT) DebugInfo() debuginfo.DebugInfo

func (OP_BLT) Opcode

func (o OP_BLT) Opcode() opcodes.Opcode

func (OP_BLT) String

func (o OP_BLT) String() string

type OP_BLTU

type OP_BLTU struct {
	opcodes.OP_BLTU
	// contains filtered or unexported fields
}

func BLTU

func BLTU(BIMM12 int32, RS1 uint32, RS2 uint32, debug debuginfo.DebugInfo) OP_BLTU

func DecodeBLTU

func DecodeBLTU(inst uint32) OP_BLTU

func (OP_BLTU) DebugInfo

func (o OP_BLTU) DebugInfo() debuginfo.DebugInfo

func (OP_BLTU) Opcode

func (o OP_BLTU) Opcode() opcodes.Opcode

func (OP_BLTU) String

func (o OP_BLTU) String() string

type OP_BNE

type OP_BNE struct {
	opcodes.OP_BNE
	// contains filtered or unexported fields
}

func BNE

func BNE(BIMM12 int32, RS1 uint32, RS2 uint32, debug debuginfo.DebugInfo) OP_BNE

func DecodeBNE

func DecodeBNE(inst uint32) OP_BNE

func (OP_BNE) DebugInfo

func (o OP_BNE) DebugInfo() debuginfo.DebugInfo

func (OP_BNE) Opcode

func (o OP_BNE) Opcode() opcodes.Opcode

func (OP_BNE) String

func (o OP_BNE) String() string

type OP_CSRRC

type OP_CSRRC struct {
	opcodes.OP_CSRRC
	// contains filtered or unexported fields
}

func CSRRC

func CSRRC(RD uint32, RS1 uint32, CSR uint32, debug debuginfo.DebugInfo) OP_CSRRC

func DecodeCSRRC

func DecodeCSRRC(inst uint32) OP_CSRRC

func (OP_CSRRC) DebugInfo

func (o OP_CSRRC) DebugInfo() debuginfo.DebugInfo

func (OP_CSRRC) Opcode

func (o OP_CSRRC) Opcode() opcodes.Opcode

func (OP_CSRRC) String

func (o OP_CSRRC) String() string

type OP_CSRRCI

type OP_CSRRCI struct {
	opcodes.OP_CSRRCI
	// contains filtered or unexported fields
}

func CSRRCI

func CSRRCI(RD uint32, CSR uint32, ZIMM uint32, debug debuginfo.DebugInfo) OP_CSRRCI

func DecodeCSRRCI

func DecodeCSRRCI(inst uint32) OP_CSRRCI

func (OP_CSRRCI) DebugInfo

func (o OP_CSRRCI) DebugInfo() debuginfo.DebugInfo

func (OP_CSRRCI) Opcode

func (o OP_CSRRCI) Opcode() opcodes.Opcode

func (OP_CSRRCI) String

func (o OP_CSRRCI) String() string

type OP_CSRRS

type OP_CSRRS struct {
	opcodes.OP_CSRRS
	// contains filtered or unexported fields
}

func CSRRS

func CSRRS(RD uint32, RS1 uint32, CSR uint32, debug debuginfo.DebugInfo) OP_CSRRS

func DecodeCSRRS

func DecodeCSRRS(inst uint32) OP_CSRRS

func (OP_CSRRS) DebugInfo

func (o OP_CSRRS) DebugInfo() debuginfo.DebugInfo

func (OP_CSRRS) Opcode

func (o OP_CSRRS) Opcode() opcodes.Opcode

func (OP_CSRRS) String

func (o OP_CSRRS) String() string

type OP_CSRRSI

type OP_CSRRSI struct {
	opcodes.OP_CSRRSI
	// contains filtered or unexported fields
}

func CSRRSI

func CSRRSI(RD uint32, CSR uint32, ZIMM uint32, debug debuginfo.DebugInfo) OP_CSRRSI

func DecodeCSRRSI

func DecodeCSRRSI(inst uint32) OP_CSRRSI

func (OP_CSRRSI) DebugInfo

func (o OP_CSRRSI) DebugInfo() debuginfo.DebugInfo

func (OP_CSRRSI) Opcode

func (o OP_CSRRSI) Opcode() opcodes.Opcode

func (OP_CSRRSI) String

func (o OP_CSRRSI) String() string

type OP_CSRRW

type OP_CSRRW struct {
	opcodes.OP_CSRRW
	// contains filtered or unexported fields
}

func CSRRW

func CSRRW(RD uint32, RS1 uint32, CSR uint32, debug debuginfo.DebugInfo) OP_CSRRW

func DecodeCSRRW

func DecodeCSRRW(inst uint32) OP_CSRRW

func (OP_CSRRW) DebugInfo

func (o OP_CSRRW) DebugInfo() debuginfo.DebugInfo

func (OP_CSRRW) Opcode

func (o OP_CSRRW) Opcode() opcodes.Opcode

func (OP_CSRRW) String

func (o OP_CSRRW) String() string

type OP_CSRRWI

type OP_CSRRWI struct {
	opcodes.OP_CSRRWI
	// contains filtered or unexported fields
}

func CSRRWI

func CSRRWI(RD uint32, CSR uint32, ZIMM uint32, debug debuginfo.DebugInfo) OP_CSRRWI

func DecodeCSRRWI

func DecodeCSRRWI(inst uint32) OP_CSRRWI

func (OP_CSRRWI) DebugInfo

func (o OP_CSRRWI) DebugInfo() debuginfo.DebugInfo

func (OP_CSRRWI) Opcode

func (o OP_CSRRWI) Opcode() opcodes.Opcode

func (OP_CSRRWI) String

func (o OP_CSRRWI) String() string

type OP_DRET

type OP_DRET struct {
	opcodes.OP_DRET
	// contains filtered or unexported fields
}

func DRET

func DRET(debug debuginfo.DebugInfo) OP_DRET

func DecodeDRET

func DecodeDRET(inst uint32) OP_DRET

func (OP_DRET) DebugInfo

func (o OP_DRET) DebugInfo() debuginfo.DebugInfo

func (OP_DRET) Opcode

func (o OP_DRET) Opcode() opcodes.Opcode

func (OP_DRET) String

func (o OP_DRET) String() string

type OP_EBREAK

type OP_EBREAK struct {
	opcodes.OP_EBREAK
	// contains filtered or unexported fields
}

func DecodeEBREAK

func DecodeEBREAK(inst uint32) OP_EBREAK

func EBREAK

func EBREAK(debug debuginfo.DebugInfo) OP_EBREAK

func (OP_EBREAK) DebugInfo

func (o OP_EBREAK) DebugInfo() debuginfo.DebugInfo

func (OP_EBREAK) Opcode

func (o OP_EBREAK) Opcode() opcodes.Opcode

func (OP_EBREAK) String

func (o OP_EBREAK) String() string

type OP_ECALL

type OP_ECALL struct {
	opcodes.OP_ECALL
	// contains filtered or unexported fields
}

func DecodeECALL

func DecodeECALL(inst uint32) OP_ECALL

func ECALL

func ECALL(debug debuginfo.DebugInfo) OP_ECALL

func (OP_ECALL) DebugInfo

func (o OP_ECALL) DebugInfo() debuginfo.DebugInfo

func (OP_ECALL) Opcode

func (o OP_ECALL) Opcode() opcodes.Opcode

func (OP_ECALL) String

func (o OP_ECALL) String() string

type OP_FENCE

type OP_FENCE struct {
	opcodes.OP_FENCE
	// contains filtered or unexported fields
}

func DecodeFENCE

func DecodeFENCE(inst uint32) OP_FENCE

func FENCE

func FENCE(FM uint32, PRED uint32, SUCC uint32, RS1 uint32, RD uint32, debug debuginfo.DebugInfo) OP_FENCE

func (OP_FENCE) DebugInfo

func (o OP_FENCE) DebugInfo() debuginfo.DebugInfo

func (OP_FENCE) Opcode

func (o OP_FENCE) Opcode() opcodes.Opcode

func (OP_FENCE) String

func (o OP_FENCE) String() string

type OP_FENCE_I

type OP_FENCE_I struct {
	opcodes.OP_FENCE_I
	// contains filtered or unexported fields
}

func DecodeFENCE_I

func DecodeFENCE_I(inst uint32) OP_FENCE_I

func FENCE_I

func FENCE_I(IMM12 int32, RS1 uint32, RD uint32, debug debuginfo.DebugInfo) OP_FENCE_I

func (OP_FENCE_I) DebugInfo

func (o OP_FENCE_I) DebugInfo() debuginfo.DebugInfo

func (OP_FENCE_I) Opcode

func (o OP_FENCE_I) Opcode() opcodes.Opcode

func (OP_FENCE_I) String

func (o OP_FENCE_I) String() string

type OP_ILLEGAL

type OP_ILLEGAL struct {
	opcodes.OP_ILLEGAL
}

func ILLEGAL

func ILLEGAL() OP_ILLEGAL

func (OP_ILLEGAL) DebugInfo

func (o OP_ILLEGAL) DebugInfo() debuginfo.DebugInfo

func (OP_ILLEGAL) Opcode

func (o OP_ILLEGAL) Opcode() opcodes.Opcode

func (OP_ILLEGAL) String

func (o OP_ILLEGAL) String() string

type OP_JAL

type OP_JAL struct {
	opcodes.OP_JAL
	// contains filtered or unexported fields
}

func DecodeJAL

func DecodeJAL(inst uint32) OP_JAL

func JAL

func JAL(RD uint32, JIMM20 int32, debug debuginfo.DebugInfo) OP_JAL

func (OP_JAL) DebugInfo

func (o OP_JAL) DebugInfo() debuginfo.DebugInfo

func (OP_JAL) Opcode

func (o OP_JAL) Opcode() opcodes.Opcode

func (OP_JAL) String

func (o OP_JAL) String() string

type OP_JALR

type OP_JALR struct {
	opcodes.OP_JALR
	// contains filtered or unexported fields
}

func DecodeJALR

func DecodeJALR(inst uint32) OP_JALR

func JALR

func JALR(RD uint32, RS1 uint32, IMM12 int32, debug debuginfo.DebugInfo) OP_JALR

func (OP_JALR) DebugInfo

func (o OP_JALR) DebugInfo() debuginfo.DebugInfo

func (OP_JALR) Opcode

func (o OP_JALR) Opcode() opcodes.Opcode

func (OP_JALR) String

func (o OP_JALR) String() string

type OP_LB

type OP_LB struct {
	opcodes.OP_LB
	// contains filtered or unexported fields
}

func DecodeLB

func DecodeLB(inst uint32) OP_LB

func LB

func LB(RD uint32, RS1 uint32, IMM12 int32, debug debuginfo.DebugInfo) OP_LB

func (OP_LB) DebugInfo

func (o OP_LB) DebugInfo() debuginfo.DebugInfo

func (OP_LB) Opcode

func (o OP_LB) Opcode() opcodes.Opcode

func (OP_LB) String

func (o OP_LB) String() string

type OP_LBU

type OP_LBU struct {
	opcodes.OP_LBU
	// contains filtered or unexported fields
}

func DecodeLBU

func DecodeLBU(inst uint32) OP_LBU

func LBU

func LBU(RD uint32, RS1 uint32, IMM12 int32, debug debuginfo.DebugInfo) OP_LBU

func (OP_LBU) DebugInfo

func (o OP_LBU) DebugInfo() debuginfo.DebugInfo

func (OP_LBU) Opcode

func (o OP_LBU) Opcode() opcodes.Opcode

func (OP_LBU) String

func (o OP_LBU) String() string

type OP_LH

type OP_LH struct {
	opcodes.OP_LH
	// contains filtered or unexported fields
}

func DecodeLH

func DecodeLH(inst uint32) OP_LH

func LH

func LH(RD uint32, RS1 uint32, IMM12 int32, debug debuginfo.DebugInfo) OP_LH

func (OP_LH) DebugInfo

func (o OP_LH) DebugInfo() debuginfo.DebugInfo

func (OP_LH) Opcode

func (o OP_LH) Opcode() opcodes.Opcode

func (OP_LH) String

func (o OP_LH) String() string

type OP_LHU

type OP_LHU struct {
	opcodes.OP_LHU
	// contains filtered or unexported fields
}

func DecodeLHU

func DecodeLHU(inst uint32) OP_LHU

func LHU

func LHU(RD uint32, RS1 uint32, IMM12 int32, debug debuginfo.DebugInfo) OP_LHU

func (OP_LHU) DebugInfo

func (o OP_LHU) DebugInfo() debuginfo.DebugInfo

func (OP_LHU) Opcode

func (o OP_LHU) Opcode() opcodes.Opcode

func (OP_LHU) String

func (o OP_LHU) String() string

type OP_LUI

type OP_LUI struct {
	opcodes.OP_LUI
	// contains filtered or unexported fields
}

func DecodeLUI

func DecodeLUI(inst uint32) OP_LUI

func LUI

func LUI(RD uint32, IMM20 int32, debug debuginfo.DebugInfo) OP_LUI

func (OP_LUI) DebugInfo

func (o OP_LUI) DebugInfo() debuginfo.DebugInfo

func (OP_LUI) Opcode

func (o OP_LUI) Opcode() opcodes.Opcode

func (OP_LUI) String

func (o OP_LUI) String() string

type OP_LW

type OP_LW struct {
	opcodes.OP_LW
	// contains filtered or unexported fields
}

func DecodeLW

func DecodeLW(inst uint32) OP_LW

func LW

func LW(RD uint32, RS1 uint32, IMM12 int32, debug debuginfo.DebugInfo) OP_LW

func (OP_LW) DebugInfo

func (o OP_LW) DebugInfo() debuginfo.DebugInfo

func (OP_LW) Opcode

func (o OP_LW) Opcode() opcodes.Opcode

func (OP_LW) String

func (o OP_LW) String() string

type OP_MRET

type OP_MRET struct {
	opcodes.OP_MRET
	// contains filtered or unexported fields
}

func DecodeMRET

func DecodeMRET(inst uint32) OP_MRET

func MRET

func MRET(debug debuginfo.DebugInfo) OP_MRET

func (OP_MRET) DebugInfo

func (o OP_MRET) DebugInfo() debuginfo.DebugInfo

func (OP_MRET) Opcode

func (o OP_MRET) Opcode() opcodes.Opcode

func (OP_MRET) String

func (o OP_MRET) String() string

type OP_OR

type OP_OR struct {
	opcodes.OP_OR
	// contains filtered or unexported fields
}

func DecodeOR

func DecodeOR(inst uint32) OP_OR

func OR

func OR(RD uint32, RS1 uint32, RS2 uint32, debug debuginfo.DebugInfo) OP_OR

func (OP_OR) DebugInfo

func (o OP_OR) DebugInfo() debuginfo.DebugInfo

func (OP_OR) Opcode

func (o OP_OR) Opcode() opcodes.Opcode

func (OP_OR) String

func (o OP_OR) String() string

type OP_ORI

type OP_ORI struct {
	opcodes.OP_ORI
	// contains filtered or unexported fields
}

func DecodeORI

func DecodeORI(inst uint32) OP_ORI

func ORI

func ORI(RD uint32, RS1 uint32, IMM12 int32, debug debuginfo.DebugInfo) OP_ORI

func (OP_ORI) DebugInfo

func (o OP_ORI) DebugInfo() debuginfo.DebugInfo

func (OP_ORI) Opcode

func (o OP_ORI) Opcode() opcodes.Opcode

func (OP_ORI) String

func (o OP_ORI) String() string

type OP_SB

type OP_SB struct {
	opcodes.OP_SB
	// contains filtered or unexported fields
}

func DecodeSB

func DecodeSB(inst uint32) OP_SB

func SB

func SB(IMM12 int32, RS1 uint32, RS2 uint32, debug debuginfo.DebugInfo) OP_SB

func (OP_SB) DebugInfo

func (o OP_SB) DebugInfo() debuginfo.DebugInfo

func (OP_SB) Opcode

func (o OP_SB) Opcode() opcodes.Opcode

func (OP_SB) String

func (o OP_SB) String() string

type OP_SFENCE_VMA

type OP_SFENCE_VMA struct {
	opcodes.OP_SFENCE_VMA
	// contains filtered or unexported fields
}

func DecodeSFENCE_VMA

func DecodeSFENCE_VMA(inst uint32) OP_SFENCE_VMA

func SFENCE_VMA

func SFENCE_VMA(RS1 uint32, RS2 uint32, debug debuginfo.DebugInfo) OP_SFENCE_VMA

func (OP_SFENCE_VMA) DebugInfo

func (o OP_SFENCE_VMA) DebugInfo() debuginfo.DebugInfo

func (OP_SFENCE_VMA) Opcode

func (o OP_SFENCE_VMA) Opcode() opcodes.Opcode

func (OP_SFENCE_VMA) String

func (o OP_SFENCE_VMA) String() string

type OP_SH

type OP_SH struct {
	opcodes.OP_SH
	// contains filtered or unexported fields
}

func DecodeSH

func DecodeSH(inst uint32) OP_SH

func SH

func SH(IMM12 int32, RS1 uint32, RS2 uint32, debug debuginfo.DebugInfo) OP_SH

func (OP_SH) DebugInfo

func (o OP_SH) DebugInfo() debuginfo.DebugInfo

func (OP_SH) Opcode

func (o OP_SH) Opcode() opcodes.Opcode

func (OP_SH) String

func (o OP_SH) String() string

type OP_SLL

type OP_SLL struct {
	opcodes.OP_SLL
	// contains filtered or unexported fields
}

func DecodeSLL

func DecodeSLL(inst uint32) OP_SLL

func SLL

func SLL(RD uint32, RS1 uint32, RS2 uint32, debug debuginfo.DebugInfo) OP_SLL

func (OP_SLL) DebugInfo

func (o OP_SLL) DebugInfo() debuginfo.DebugInfo

func (OP_SLL) Opcode

func (o OP_SLL) Opcode() opcodes.Opcode

func (OP_SLL) String

func (o OP_SLL) String() string

type OP_SLLI

type OP_SLLI struct {
	opcodes.OP_SLLI
	// contains filtered or unexported fields
}

func DecodeSLLI

func DecodeSLLI(inst uint32) OP_SLLI

func SLLI

func SLLI(RD uint32, RS1 uint32, SHAMTW uint32, debug debuginfo.DebugInfo) OP_SLLI

func (OP_SLLI) DebugInfo

func (o OP_SLLI) DebugInfo() debuginfo.DebugInfo

func (OP_SLLI) Opcode

func (o OP_SLLI) Opcode() opcodes.Opcode

func (OP_SLLI) String

func (o OP_SLLI) String() string

type OP_SLT

type OP_SLT struct {
	opcodes.OP_SLT
	// contains filtered or unexported fields
}

func DecodeSLT

func DecodeSLT(inst uint32) OP_SLT

func SLT

func SLT(RD uint32, RS1 uint32, RS2 uint32, debug debuginfo.DebugInfo) OP_SLT

func (OP_SLT) DebugInfo

func (o OP_SLT) DebugInfo() debuginfo.DebugInfo

func (OP_SLT) Opcode

func (o OP_SLT) Opcode() opcodes.Opcode

func (OP_SLT) String

func (o OP_SLT) String() string

type OP_SLTI

type OP_SLTI struct {
	opcodes.OP_SLTI
	// contains filtered or unexported fields
}

func DecodeSLTI

func DecodeSLTI(inst uint32) OP_SLTI

func SLTI

func SLTI(RD uint32, RS1 uint32, IMM12 int32, debug debuginfo.DebugInfo) OP_SLTI

func (OP_SLTI) DebugInfo

func (o OP_SLTI) DebugInfo() debuginfo.DebugInfo

func (OP_SLTI) Opcode

func (o OP_SLTI) Opcode() opcodes.Opcode

func (OP_SLTI) String

func (o OP_SLTI) String() string

type OP_SLTIU

type OP_SLTIU struct {
	opcodes.OP_SLTIU
	// contains filtered or unexported fields
}

func DecodeSLTIU

func DecodeSLTIU(inst uint32) OP_SLTIU

func SLTIU

func SLTIU(RD uint32, RS1 uint32, IMM12 int32, debug debuginfo.DebugInfo) OP_SLTIU

func (OP_SLTIU) DebugInfo

func (o OP_SLTIU) DebugInfo() debuginfo.DebugInfo

func (OP_SLTIU) Opcode

func (o OP_SLTIU) Opcode() opcodes.Opcode

func (OP_SLTIU) String

func (o OP_SLTIU) String() string

type OP_SLTU

type OP_SLTU struct {
	opcodes.OP_SLTU
	// contains filtered or unexported fields
}

func DecodeSLTU

func DecodeSLTU(inst uint32) OP_SLTU

func SLTU

func SLTU(RD uint32, RS1 uint32, RS2 uint32, debug debuginfo.DebugInfo) OP_SLTU

func (OP_SLTU) DebugInfo

func (o OP_SLTU) DebugInfo() debuginfo.DebugInfo

func (OP_SLTU) Opcode

func (o OP_SLTU) Opcode() opcodes.Opcode

func (OP_SLTU) String

func (o OP_SLTU) String() string

type OP_SRA

type OP_SRA struct {
	opcodes.OP_SRA
	// contains filtered or unexported fields
}

func DecodeSRA

func DecodeSRA(inst uint32) OP_SRA

func SRA

func SRA(RD uint32, RS1 uint32, RS2 uint32, debug debuginfo.DebugInfo) OP_SRA

func (OP_SRA) DebugInfo

func (o OP_SRA) DebugInfo() debuginfo.DebugInfo

func (OP_SRA) Opcode

func (o OP_SRA) Opcode() opcodes.Opcode

func (OP_SRA) String

func (o OP_SRA) String() string

type OP_SRAI

type OP_SRAI struct {
	opcodes.OP_SRAI
	// contains filtered or unexported fields
}

func DecodeSRAI

func DecodeSRAI(inst uint32) OP_SRAI

func SRAI

func SRAI(RD uint32, RS1 uint32, SHAMTW uint32, debug debuginfo.DebugInfo) OP_SRAI

func (OP_SRAI) DebugInfo

func (o OP_SRAI) DebugInfo() debuginfo.DebugInfo

func (OP_SRAI) Opcode

func (o OP_SRAI) Opcode() opcodes.Opcode

func (OP_SRAI) String

func (o OP_SRAI) String() string

type OP_SRET

type OP_SRET struct {
	opcodes.OP_SRET
	// contains filtered or unexported fields
}

func DecodeSRET

func DecodeSRET(inst uint32) OP_SRET

func SRET

func SRET(debug debuginfo.DebugInfo) OP_SRET

func (OP_SRET) DebugInfo

func (o OP_SRET) DebugInfo() debuginfo.DebugInfo

func (OP_SRET) Opcode

func (o OP_SRET) Opcode() opcodes.Opcode

func (OP_SRET) String

func (o OP_SRET) String() string

type OP_SRL

type OP_SRL struct {
	opcodes.OP_SRL
	// contains filtered or unexported fields
}

func DecodeSRL

func DecodeSRL(inst uint32) OP_SRL

func SRL

func SRL(RD uint32, RS1 uint32, RS2 uint32, debug debuginfo.DebugInfo) OP_SRL

func (OP_SRL) DebugInfo

func (o OP_SRL) DebugInfo() debuginfo.DebugInfo

func (OP_SRL) Opcode

func (o OP_SRL) Opcode() opcodes.Opcode

func (OP_SRL) String

func (o OP_SRL) String() string

type OP_SRLI

type OP_SRLI struct {
	opcodes.OP_SRLI
	// contains filtered or unexported fields
}

func DecodeSRLI

func DecodeSRLI(inst uint32) OP_SRLI

func SRLI

func SRLI(RD uint32, RS1 uint32, SHAMTW uint32, debug debuginfo.DebugInfo) OP_SRLI

func (OP_SRLI) DebugInfo

func (o OP_SRLI) DebugInfo() debuginfo.DebugInfo

func (OP_SRLI) Opcode

func (o OP_SRLI) Opcode() opcodes.Opcode

func (OP_SRLI) String

func (o OP_SRLI) String() string

type OP_SUB

type OP_SUB struct {
	opcodes.OP_SUB
	// contains filtered or unexported fields
}

func DecodeSUB

func DecodeSUB(inst uint32) OP_SUB

func SUB

func SUB(RD uint32, RS1 uint32, RS2 uint32, debug debuginfo.DebugInfo) OP_SUB

func (OP_SUB) DebugInfo

func (o OP_SUB) DebugInfo() debuginfo.DebugInfo

func (OP_SUB) Opcode

func (o OP_SUB) Opcode() opcodes.Opcode

func (OP_SUB) String

func (o OP_SUB) String() string

type OP_SW

type OP_SW struct {
	opcodes.OP_SW
	// contains filtered or unexported fields
}

func DecodeSW

func DecodeSW(inst uint32) OP_SW

func SW

func SW(IMM12 int32, RS1 uint32, RS2 uint32, debug debuginfo.DebugInfo) OP_SW

func (OP_SW) DebugInfo

func (o OP_SW) DebugInfo() debuginfo.DebugInfo

func (OP_SW) Opcode

func (o OP_SW) Opcode() opcodes.Opcode

func (OP_SW) String

func (o OP_SW) String() string

type OP_WFI

type OP_WFI struct {
	opcodes.OP_WFI
	// contains filtered or unexported fields
}

func DecodeWFI

func DecodeWFI(inst uint32) OP_WFI

func WFI

func WFI(debug debuginfo.DebugInfo) OP_WFI

func (OP_WFI) DebugInfo

func (o OP_WFI) DebugInfo() debuginfo.DebugInfo

func (OP_WFI) Opcode

func (o OP_WFI) Opcode() opcodes.Opcode

func (OP_WFI) String

func (o OP_WFI) String() string

type OP_XOR

type OP_XOR struct {
	opcodes.OP_XOR
	// contains filtered or unexported fields
}

func DecodeXOR

func DecodeXOR(inst uint32) OP_XOR

func XOR

func XOR(RD uint32, RS1 uint32, RS2 uint32, debug debuginfo.DebugInfo) OP_XOR

func (OP_XOR) DebugInfo

func (o OP_XOR) DebugInfo() debuginfo.DebugInfo

func (OP_XOR) Opcode

func (o OP_XOR) Opcode() opcodes.Opcode

func (OP_XOR) String

func (o OP_XOR) String() string

type OP_XORI

type OP_XORI struct {
	opcodes.OP_XORI
	// contains filtered or unexported fields
}

func DecodeXORI

func DecodeXORI(inst uint32) OP_XORI

func XORI

func XORI(RD uint32, RS1 uint32, IMM12 int32, debug debuginfo.DebugInfo) OP_XORI

func (OP_XORI) DebugInfo

func (o OP_XORI) DebugInfo() debuginfo.DebugInfo

func (OP_XORI) Opcode

func (o OP_XORI) Opcode() opcodes.Opcode

func (OP_XORI) String

func (o OP_XORI) String() string

type Opcode

type Opcode interface {
	fmt.Stringer
	Opcode() opcodes.Opcode
	DebugInfo() debuginfo.DebugInfo
}

func Decode

func Decode(buf io.ReadSeeker) ([]Opcode, error)

func Match

func Match(inst uint32) (Opcode, error)

func NOP

func NOP(debuginfo debuginfo.DebugInfo) Opcode

Jump to

Keyboard shortcuts

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