nasm/test/r13.asm
H. Peter Anvin 2ced2ec370 test/r13.asm: test special-casing of rbp and r13 in 64-bit mode
Test that we correctly special-case the modr/m generation for r13 in
64-bit mode.
2007-09-17 13:19:25 -07:00

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]