@@ -25,16 +25,36 @@ func AsmFull(asm string, regs map[string]interface{}) uintptr {
2525}
2626
2727// Run the following system call (SVCall) with 0 arguments.
28- func SVCall0 (num uintptr ) uintptr
28+ func SVCall0 (num uintptr ) uintptr {
29+ // TODO(zzy): implement system call (SVCall) functionality for ARM Cortex-M
30+ // TinyGo compiler implementation: tinygo/compiler/inlineasm.go emitSV64Call function
31+ panic ("TODO: SVCall0" )
32+ }
2933
3034// Run the following system call (SVCall) with 1 argument.
31- func SVCall1 (num uintptr , a1 interface {}) uintptr
35+ func SVCall1 (num uintptr , a1 interface {}) uintptr {
36+ // TODO(zzy): implement system call (SVCall) functionality for ARM Cortex-M
37+ // TinyGo compiler implementation: tinygo/compiler/inlineasm.go emitSV64Call function
38+ panic ("TODO: SVCall1" )
39+ }
3240
3341// Run the following system call (SVCall) with 2 arguments.
34- func SVCall2 (num uintptr , a1 , a2 interface {}) uintptr
42+ func SVCall2 (num uintptr , a1 , a2 interface {}) uintptr {
43+ // TODO(zzy): implement system call (SVCall) functionality for ARM Cortex-M
44+ // TinyGo compiler implementation: tinygo/compiler/inlineasm.go emitSV64Call function
45+ panic ("TODO: SVCall2" )
46+ }
3547
3648// Run the following system call (SVCall) with 3 arguments.
37- func SVCall3 (num uintptr , a1 , a2 , a3 interface {}) uintptr
49+ func SVCall3 (num uintptr , a1 , a2 , a3 interface {}) uintptr {
50+ // TODO(zzy): implement system call (SVCall) functionality for ARM Cortex-M
51+ // TinyGo compiler implementation: tinygo/compiler/inlineasm.go emitSV64Call function
52+ panic ("TODO: SVCall3" )
53+ }
3854
3955// Run the following system call (SVCall) with 4 arguments.
40- func SVCall4 (num uintptr , a1 , a2 , a3 , a4 interface {}) uintptr
56+ func SVCall4 (num uintptr , a1 , a2 , a3 , a4 interface {}) uintptr {
57+ // TODO(zzy): implement system call (SVCall) functionality for ARM Cortex-M
58+ // TinyGo compiler implementation: tinygo/compiler/inlineasm.go emitSV64Call function
59+ panic ("TODO: SVCall4" )
60+ }
0 commit comments