Getting Started with Plan 9 Assembly
Getting Started with Plan 9 Assembly
View the generated assembly:
$ go tool compile -S main.goThis command shows you what your Go code looks like after compilation. The -S flag tells the compiler to print the assembly output instead of building the binary. You’ll see the low-level instructions that correspond to your high-level Go functions.