Documentation ¶
Index ¶
- type Emulator
- func (self *Emulator) Ap(i int, v unsafe.Pointer) *Emulator
- func (self *Emulator) Au(i int, v uint64) *Emulator
- func (self *Emulator) Free()
- func (self *Emulator) Gr(id hir.GenericRegister) uint64
- func (self *Emulator) Pr(id hir.PointerRegister) unsafe.Pointer
- func (self *Emulator) Reset(p hir.Program) *Emulator
- func (self *Emulator) Rp(i int) unsafe.Pointer
- func (self *Emulator) Ru(i int) uint64
- func (self *Emulator) Run()
- func (self *Emulator) SetGr(id hir.GenericRegister, val uint64)
- func (self *Emulator) SetPr(id hir.PointerRegister, val unsafe.Pointer)
- func (self *Emulator) String() string
- type Value
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Emulator ¶
type Emulator struct {
// contains filtered or unexported fields
}
func LoadProgram ¶
Click to show internal directories.
Click to hide internal directories.