Questions about the Go assembler


(Andrew Pennebaker) #1

Hi, I have a few questions about Go’s assembler:

  • Assuming the right Go assembler code is written, can the Go assembler build binaries targeting different platforms, similar to how the Go compiler can build binaries targeting different platforms?
  • Does the Go assembler understand other assembler text formats like NASM, YASM, TASM? Is it possible to convert between these formats?

(Jakob Borg) #2

You would need to write assembler code for each platform you target, or have a fallback in Go. I’m not aware of any program to convert between the Go (plan 9) assembler syntax and others.


(system) #3

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.