nasm/test/larlsl.asm
H. Peter Anvin cc00498f5f Fix BR 1490407: size of the second operand of LAR/LSL
The second operand of LAR/LSL is always 16 bits.
2007-09-25 14:11:29 -07:00

22 lines
287 B
NASM

bits 64
lar ax,bx
lar ax,[rsi]
lar ax,word [rsi]
lar eax,bx
lar eax,[rsi]
lar eax,word [rsi]
lar rax,bx
lar rax,[rsi]
lar rax,word [rsi]
lsl ax,bx
lsl ax,[rsi]
lsl ax,word [rsi]
lsl eax,bx
lsl eax,[rsi]
lsl eax,word [rsi]
lsl rax,bx
lsl rax,[rsi]
lsl rax,word [rsi]