22 lines
166 B
Go
22 lines
166 B
Go
|
package asm
|
||
|
|
||
|
const (
|
||
|
OpNop = iota
|
||
|
OpLd
|
||
|
OpLr
|
||
|
OpSt
|
||
|
OpAdd
|
||
|
OpSub
|
||
|
OpAddi
|
||
|
OpSubi
|
||
|
OpP
|
||
|
OpBeq
|
||
|
OpBne
|
||
|
OpBgt
|
||
|
OpBlt
|
||
|
OpJ
|
||
|
OpJr
|
||
|
OpCall
|
||
|
OpExit
|
||
|
)
|