]> Cypherpunks repositories - gostls13.git/commit
[dev.cc] cmd/asm: the assembler proper
authorRob Pike <r@golang.org>
Thu, 22 Jan 2015 18:48:33 +0000 (10:48 -0800)
committerRob Pike <r@golang.org>
Fri, 23 Jan 2015 04:54:05 +0000 (04:54 +0000)
commitfdeee3a538e4816540e46195e7c14af2ad4ad190
treeeedcd48fe58bdbf76a1adbddb42c4507af2010dd
parent86426395754da512cb8017169d1be75dd6aca817
[dev.cc] cmd/asm: the assembler proper

Add main.go, the simple driver for the assembler, and the
subdirectory internal/asm, which contains the parser and
instruction generator.

It's likely that much of the implementation is superstition,
or at best experimental phenomenology, but it does generate
working binaries.

Change-Id: I322a9ae8a20174b6693153f30e39217ba68f8032
Reviewed-on: https://go-review.googlesource.com/3196
Reviewed-by: Russ Cox <rsc@golang.org>
src/cmd/asm/internal/asm/asm.go [new file with mode: 0644]
src/cmd/asm/internal/asm/overflow.go [new file with mode: 0644]
src/cmd/asm/internal/asm/parse.go [new file with mode: 0644]
src/cmd/asm/main.go [new file with mode: 0644]