4 ms·
The Golang assembly does not support all instructions, we've created a tool (see https://github.com/minio/asm2plan9s https://github.com/minio/asm2plan9s) to ass
by fwessels 10y ago
The Golang assembly does not support all instructions, we've created a tool (see https://github.com/minio/asm2plan9s https://github.com/minio/asm2plan9s) to assist in translating instructions into their opcode equivalents.
- chewxy 10y agoDamn. That's neat. I wrote my own python script to translate whatever `as` spits out into BYTE $.... your tool'd have been neat when I wrote this http://blog.chewxy.com/2016/07/25/on-the-memory-alignment-of-go-slice-values/ http://blog.chewxy.com/2016/07/25/on-the-memory-alignment-of...
- fwessels 10y agoNice blog, and the tool would have helped indeed. And also, memory allocation is not the most obvious topic in Go/Golang assembly...