Implemented data labels
This commit is contained in:
parent
ff0b8ecb10
commit
1b75529bb3
18 changed files with 428 additions and 327 deletions
|
@ -25,6 +25,7 @@ func (r *Result) finalize() ([]byte, []byte) {
|
|||
// a return address on the stack, which allows return statements in `main`.
|
||||
final := asm.Assembler{
|
||||
Instructions: make([]asm.Instruction, 0, r.InstructionCount+4),
|
||||
Data: map[string][]byte{},
|
||||
}
|
||||
|
||||
final.Call("main")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue