Added fibonacci example
This commit is contained in:
parent
cbbceedc4d
commit
c2b763ab67
11 changed files with 107 additions and 16 deletions
|
@ -31,6 +31,7 @@ func NewFunction(name string, file *fs.File, body token.List) *Function {
|
|||
Instructions: make([]asm.Instruction, 0, 32),
|
||||
},
|
||||
cpu: cpu.CPU{
|
||||
All: x64.AllRegisters,
|
||||
Input: x64.CallRegisters,
|
||||
General: x64.GeneralRegisters,
|
||||
Syscall: x64.SyscallRegisters,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue