x86

package
v0.0.0-...-6e409f7 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2014 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AX = iota
	BX
	CX
	DX
	SI
	DI
	SP
	BP
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Register

type Register struct {
	Class  int
	TypeId int
}

func NewRegister

func NewRegister(klass int, t int) *Register

func (*Register) AsOperand

func (self *Register) AsOperand() xtc_core.IOperand

func (*Register) AsRegister

func (self *Register) AsRegister() xtc_core.IRegister

func (*Register) CollectStatistics

func (self *Register) CollectStatistics(stats xtc_core.IStatistics)

func (Register) ForType

func (self Register) ForType(t int) *Register

func (Register) GetBaseName

func (self Register) GetBaseName() string

func (Register) GetTypeId

func (self Register) GetTypeId() int

func (*Register) GetTypedName

func (self *Register) GetTypedName() string

func (Register) IsMemoryReference

func (self Register) IsMemoryReference() bool

func (Register) IsRegister

func (self Register) IsRegister() bool

func (Register) String

func (self Register) String() string

func (*Register) ToSource

func (self *Register) ToSource(table xtc_core.ISymbolTable) string

type VirtualStack

type VirtualStack struct {
	// contains filtered or unexported fields
}

func NewVirtualStack

func NewVirtualStack(naturalType int) *VirtualStack

func (*VirtualStack) Extend

func (self *VirtualStack) Extend(n int64)

func (*VirtualStack) FixOffset

func (self *VirtualStack) FixOffset(diff int64)

func (*VirtualStack) MaxSize

func (self *VirtualStack) MaxSize() int64

func (*VirtualStack) Reset

func (self *VirtualStack) Reset()

func (*VirtualStack) Rewind

func (self *VirtualStack) Rewind(n int64)

func (*VirtualStack) Top

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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