]> Cypherpunks repositories - gostls13.git/commit
cmd/asm: add a couple of operand parses discovered by end-to-end test
authorRob Pike <r@golang.org>
Mon, 23 Feb 2015 23:45:40 +0000 (15:45 -0800)
committerRob Pike <r@golang.org>
Wed, 25 Feb 2015 16:18:54 +0000 (16:18 +0000)
commit4241b758af286be67cb510a68164b8f95c99ff06
treeb1b348902a3c19d79a36982407a1e1f2dac901d8
parent07b73ce146f7958c6e9e9b8778690971ac160cd8
cmd/asm: add a couple of operand parses discovered by end-to-end test

Missing cases for JMP $4 and foo+4(SB):AX. Both are odd but 8a accepts them
and they seem valid.

Change-Id: Ic739f626fcc79ace1eaf646c5dfdd96da59df165
Reviewed-on: https://go-review.googlesource.com/5693
Reviewed-by: Russ Cox <rsc@golang.org>
src/cmd/asm/internal/asm/asm.go
src/cmd/asm/internal/asm/operand_test.go
src/cmd/asm/internal/asm/parse.go