Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenAsm ¶
func GenAsm(f AvoMainFunc)
GenAsm is our main entry point for ASM code generation. It augments avo flags with a "-arch", the content of which is exposed in AvoContext. That value also drives the alignments in the generated code.
Types ¶
type AvoContext ¶
AvoContext is an extended context for Avo that conveys information about the target architecture. In particular this allows some level of abstraction over registers.
type AvoMainFunc ¶
type AvoMainFunc func(ctx *AvoContext) error
AvoMainFunc is the type of functions that can be used with GenAsm.
Click to show internal directories.
Click to hide internal directories.