Documentation ¶
Index ¶
- Constants
- func Apache2(copyrightHolder string, year int) func(*Bavard) error
- func BuildTag(buildTag string) func(*Bavard) error
- func Format(v bool) func(*Bavard) error
- func Funcs(funcs template.FuncMap) func(*Bavard) error
- func Generate(output string, templates []string, data interface{}, ...) error
- func GeneratedBy(label string) func(*Bavard) error
- func Import(v bool) func(*Bavard) error
- func Package(name string, doc ...string) func(*Bavard) error
- func Verbose(v bool) func(*Bavard) error
- type Assembly
- func (builder *Assembly) ADCQ(r1, r2 interface{}, comment ...string)
- func (builder *Assembly) ADCXQ(r1, r2 interface{}, comment ...string)
- func (builder *Assembly) ADDQ(r1, r2 interface{}, comment ...string)
- func (builder *Assembly) ADOXQ(r1, r2 interface{}, comment ...string)
- func (builder *Assembly) AvailableRegisters() int
- func (builder *Assembly) CMOVQCC(r1, r2 interface{}, comment ...string)
- func (builder *Assembly) CMOVQCS(r1, r2 interface{}, comment ...string)
- func (builder *Assembly) CMPB(r1, r2 interface{}, comment ...string)
- func (builder *Assembly) CMPQ(r1, r2 interface{}, comment ...string)
- func (builder *Assembly) Comment(s string)
- func (builder *Assembly) FuncHeader(funcName string, pSize int)
- func (builder *Assembly) IMULQ(r1, r2 interface{}, comment ...string)
- func (builder *Assembly) JCS(label string, comment ...string)
- func (builder *Assembly) JMP(label string, comment ...string)
- func (builder *Assembly) JNE(label string, comment ...string)
- func (builder *Assembly) JPS(label string, comment ...string)
- func (builder *Assembly) MOVQ(r1, r2 interface{}, comment ...string)
- func (builder *Assembly) MULQ(r1 interface{}, comment ...string)
- func (builder *Assembly) MULXQ(src, lo, hi interface{}, comment ...string)
- func (builder *Assembly) PopRegister() Register
- func (builder *Assembly) PushRegister(r ...Register)
- func (builder *Assembly) RET()
- func (builder *Assembly) Reset()
- func (builder *Assembly) SBBQ(r1, r2 interface{}, comment ...string)
- func (builder *Assembly) SUBQ(r1, r2 interface{}, comment ...string)
- func (builder *Assembly) Write(s string)
- func (builder *Assembly) WriteLn(s string)
- func (builder *Assembly) XORQ(r1, r2 interface{}, comment ...string)
- type Bavard
- type Register
Constants ¶
View Source
const AX = "AX"
View Source
const DX = "DX"
Variables ¶
This section is empty.
Functions ¶
func GeneratedBy ¶
Types ¶
type Assembly ¶ added in v0.1.2
type Assembly struct {
// contains filtered or unexported fields
}
func NewAssembly ¶ added in v0.1.2
func (*Assembly) AvailableRegisters ¶ added in v0.1.2
func (*Assembly) FuncHeader ¶ added in v0.1.2
func (*Assembly) PopRegister ¶ added in v0.1.2
func (*Assembly) PushRegister ¶ added in v0.1.2
Click to show internal directories.
Click to hide internal directories.