cl/instr:asmFull test case with input only

This commit is contained in:
luoliwoshang
2025-08-20 23:06:11 +08:00
parent f5d4f93ed7
commit 9e0c50dafe
2 changed files with 14 additions and 2 deletions

View File

@@ -6,6 +6,7 @@ import _ "unsafe"
func asmFull(instruction string, regs map[string]any) uintptr
func main() {
asmFull("# test value {value}", map[string]any{"value": 42})
result := asmFull("mov {}, {value}", map[string]any{
"value": 42,
})