14 lines
288 B
Go
14 lines
288 B
Go
package siminstr
|
|
|
|
import (
|
|
"git.elyanpoujol.fr/elyan/central-arch/pkg/instr"
|
|
"git.elyanpoujol.fr/elyan/central-arch/pkg/simstate"
|
|
)
|
|
|
|
type InstrBehavior func(*instr.DecodedInstr, simstate.SimState) error
|
|
|
|
type SimInstrDesc struct {
|
|
InstrDesc *instr.InstrDesc
|
|
Behavior InstrBehavior
|
|
}
|