Added scope package
This commit is contained in:
parent
fd66296826
commit
8e725da9c6
37 changed files with 416 additions and 371 deletions
11
src/build/core/Comment.go
Normal file
11
src/build/core/Comment.go
Normal file
|
@ -0,0 +1,11 @@
|
|||
package core
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
)
|
||||
|
||||
// Comment adds a comment to the assembler.
|
||||
func (f *Function) Comment(format string, args ...any) {
|
||||
f.Assembler.Comment(fmt.Sprintf(format, args...))
|
||||
f.postInstruction()
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue