History

x86-64-asm: Fix ltr/str and push/pop operands

str accepts rm16/r32/r64, and push/pop defaults to 64 when given memory operands (to 32 on i386).

Michael Matz committed 10 years ago

Commit c0368601 parent 45b24c33 files · +12 −2Browse files

Showing the changes to tests (1 of 3 files). Show all

Unified · Split

tests/asmtest.S+5−0
@@ -125,6 +125,8 @@ notl %r15d · 124 unmodified lines
125 push %gs125 push %gs
126 push $1126 push $1
127 push $100127 push $100
128 push 0x42(%eax)
129 pop 0x43(%esi)
128 130
129#ifdef __i386__131#ifdef __i386__
130 popl %eax132 popl %eax
@@ -740,8 +742,11 @@ int $0x10 · 609 unmodified lines
740 lmsw 0x1000742 lmsw 0x1000
741 lsl 0x1000, %ecx743 lsl 0x1000, %ecx
742 ltr 0x1000744 ltr 0x1000
745 ltr %si
743 smsw 0x1000746 smsw 0x1000
744 str 0x1000747 str 0x1000
748 str %ecx
749 str %dx
745 750
746 verr 0x1000751 verr 0x1000
747 verw 0x1000752 verw 0x1000

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t