28 lines
990 B
Go
28 lines
990 B
Go
|
package siminstrset
|
||
|
|
||
|
import (
|
||
|
"git.elyanpoujol.fr/elyan/central-arch/pkg/instrset"
|
||
|
"git.elyanpoujol.fr/elyan/central-arch/pkg/siminstr"
|
||
|
)
|
||
|
|
||
|
// TODO Add behaviors
|
||
|
var SimCentralInstructionSet = [...]siminstr.SimInstrDesc{
|
||
|
{InstrDesc: &instrset.NOP, Behavior: nil},
|
||
|
{InstrDesc: &instrset.SVC, Behavior: nil},
|
||
|
{InstrDesc: &instrset.LDRIR, Behavior: nil},
|
||
|
{InstrDesc: &instrset.LDRIRW, Behavior: nil},
|
||
|
{InstrDesc: &instrset.LDRIOW, Behavior: nil},
|
||
|
{InstrDesc: &instrset.LDRR, Behavior: nil},
|
||
|
{InstrDesc: &instrset.LDRRW, Behavior: nil},
|
||
|
{InstrDesc: &instrset.LDROW, Behavior: nil},
|
||
|
{InstrDesc: &instrset.MOVR, Behavior: nil},
|
||
|
{InstrDesc: &instrset.MOVI, Behavior: nil},
|
||
|
{InstrDesc: &instrset.MOVNI, Behavior: nil},
|
||
|
{InstrDesc: &instrset.BIO, Behavior: nil},
|
||
|
{InstrDesc: &instrset.BAIO, Behavior: nil},
|
||
|
{InstrDesc: &instrset.BXI, Behavior: nil},
|
||
|
{InstrDesc: &instrset.BXR, Behavior: nil},
|
||
|
{InstrDesc: &instrset.SSR, Behavior: nil},
|
||
|
{InstrDesc: &instrset.SSW, Behavior: nil},
|
||
|
}
|