4 ms·
Does Go support macro assembler programming? It is a bit harsh to have to program assembler in a fully "write all the instructions" way, particularly in 2017...
by flavio81 9y ago
Does Go support macro assembler programming? It is a bit harsh to have to program assembler in a fully "write all the instructions" way, particularly in 2017...
Additionally, i see that the opcodes are not machine language (target) machine opcodes... It feels a bit ackward to have to manually program into an assembler that is not really targeting the actual CPU; kind of defeats one of the reasons to write in assembler in the first place.
As for Go, i always recall this article, which I found interesting:
http://cowlark.com/2009-11-15-go/ http://cowlark.com/2009-11-15-go/
- pkaye 9y agoIts a pretty basic assembler built in. Most of the Go library is written in Go itself with assembly for a few critical functions so that is the intended use. You can still use a proper macro assembler for full blown assembly and link Go code against that.