Should not the first parameter of a function be passed in 0(FP)? See this example assembly (produced by go tool compile -S), where 0(FP) gets skipped over and the argument is apparently loaded from 8(FP):
https://drive.google.com/open?id=0B63rdrZtwIE9dHZqWmoxdXIzNnc Another confusing thing is that conditional jumps are sometimes invoked with two operands, see any of the 8 almost equal functions here: https://drive.google.com/open?id=0B63rdrZtwIE9R3M4cGxrSFhmT00 (also, the first parameter is even further from 0(FP) now). Regards, Neven -- 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. For more options, visit https://groups.google.com/d/optout.