mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-11-21 03:14:19 +08:00
2ced2ec370
Test that we correctly special-case the modr/m generation for r13 in 64-bit mode.
14 lines
231 B
NASM
14 lines
231 B
NASM
bits 64
|
|
mov rax,[rbx]
|
|
mov rax,[rbx*4]
|
|
mov rax,[rbx+rbx*2]
|
|
mov rax,[r13+rbx*2]
|
|
mov rax,[rbp]
|
|
mov rax,[rbp*4]
|
|
mov rax,[rbp+rbp*2]
|
|
mov rax,[rbp+r13*2]
|
|
mov rax,[r13]
|
|
mov rax,[r13*4]
|
|
mov rax,[r13+rbp*2]
|
|
mov rax,[r13+r13*2]
|