Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot assemble 'movaps xmmword [rax], xmm1' #19171

Open
trufae opened this issue Oct 5, 2021 · 3 comments
Open

Cannot assemble 'movaps xmmword [rax], xmm1' #19171

trufae opened this issue Oct 5, 2021 · 3 comments

Comments

@trufae
Copy link
Collaborator

trufae commented Oct 5, 2021

Using x86.nz.. the resulting bytes should be:

0f294810

@Lazula
Copy link
Collaborator

Lazula commented Oct 8, 2021

if this is accurate we also have incorrect disasm:

$ rasm2 -a x86 -b 64 -d 0f294810
movaps xmmword [rax + 0x10], xmm1

@Lazula
Copy link
Collaborator

Lazula commented Oct 8, 2021

currently using the last byte as an 8-bit offset for rax:

$ rasm2 -a x86 -b 64 -d 0f294800
movaps xmmword [rax], xmm1
$ rasm2 -a x86 -b 64 -d 0f29481010
movaps xmmword [rax + 0x10], xmm1
invalid

@pmeerw
Copy link
Contributor

pmeerw commented Oct 12, 2022

rasm2 cannot assemble "movaps xmmword [rax], xmm1"
it should result in 0f2908 (contrary to what is stated above)
however, disassembly seems to work:

rasm2 -d -a x86.nz -b 64 "0f2908"
movaps xmmword [rax], xmm1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants