You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See, e..g, runtime/asm_amd64.s for a correct use of REP.
In particular, you should write it as
REP; MOVSB
With the semicolon.
Please reopen this issue if that fix doesn't work for you. When you reopen, please include an entire .s file that isn't compiling, so we can reproduce on our end.
randall77
changed the title
affected/package: x86 assembly REP MOVSB instruction not works
cmd/asm: x86 assembly REP MOVSB instruction not works
Jun 6, 2023
See, e..g, runtime/asm_amd64.s for a correct use of REP. In particular, you should write it as
REP; MOVSB
With the semicolon.
Please reopen this issue if that fix doesn't work for you. When you reopen, please include an entire .s file that isn't compiling, so we can reproduce on our end.
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Write a asm file , contains:
REP MOVSB
What did you expect to see?
Compile successfully
What did you see instead?
/xxx.s:406: illegal or missing addressing mode for symbol MOVSB
The text was updated successfully, but these errors were encountered: