11 lines
208 B
Go
11 lines
208 B
Go
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()
|
|
}
|