Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/itsubaki/asm-go

Go assembly playground
https://github.com/itsubaki/asm-go

assembly

Last synced: 2 days ago
JSON representation

Go assembly playground

Awesome Lists containing this project

README

        

# asm-go

- Go assembly playground

```shell
% go version
go version go1.20.2 darwin/amd64
```

```shell
% cat math/amd64.s
TEXT ·Add2(SB),$0-12
MOVQ i+0(FP), AX
ADDQ $2, AX
MOVQ AX, ret+8(FP)
RET
```

```shell
% go run main.go
3
```

## Links

- https://blog.lufia.org/entry/2021/03/17/113000
- https://zenn.dev/hsaki/articles/godoc-asm-ja