On Thu, 27 Feb 2020 19:03:02 -0800 (PST)
bucha...@gmail.com wrote:

> Can someone please explain the columns printed by "go tool objdump"?
> instruction. I'm not sure what columns 2, 3, and 5 are.

Column $2 is the memory address offset, $3 is the entire instruction
encoded in hexadecimal, $5 is a continuation of $4, a disassembled
version of $3

> what the "TEXT %22%22.main(SB)
> gofile../Users/abuchanan/projects/gobuild/simple/ main.go" line is.

TEXT is a pseudo-operation to the "entry point" to the function,
%22%22.main(SB) is the function label itself.

You can find reference only here:
https://golang.org/doc/asm
https://9p.io/sys/doc/asm.html

—wagner

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/20200228021236.2cc4e759%40pampas.

Reply via email to