145afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.org[bits 16] 245afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgmov al, 0 345afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgmov byte al, 0 445afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgmov al, byte 0 545afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgmov byte al, byte 0 645afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.org;mov al, word 0 745afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgmov byte [0], 0 845afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgmov [0], word 0 945afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgmov dword [0], dword 0 1045afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.org;mov [0], 0 1145afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgmov eax, 0 1245afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgmov dword eax, 0 1345afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgmov eax, dword 0 1445afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.org;mov eax, word 0 1545afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgmov dword eax, dword 0 1645afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgmov bx, 1h 1745afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgmov cr0, eax 1845afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgmov cr2, ebx 1945afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgmov cr4, edx 2045afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgmov ecx, cr4 2145afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgmov dr3, edx 2245afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgmov eax, dr7 2345afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.org 2445afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgmov [0], al 2545afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgmov [0], bl 2645afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgmov [1], al 2745afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgmov [1], bl 2845afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgmov ecx, edx 2945afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgmovsx ax, [ecx] 3045afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.org;movzx eax, [edx] 3145afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgmovzx ebx, word [eax] 3245afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgmovzx ecx, byte [ebx] 3345afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgfnstenv [es:ecx+5] 3445afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgnop 3545afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.org 3645afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgpush cs 3745afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgpush word cs 3845afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgpush dword cs ; NASM unsupported 3945afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgpush ds 4045afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgpush es 4145afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgpush fs 4245afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgpush gs 4345afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgpop ds 4445afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgpop es 4545afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgpop fs 4645afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgpop gs 4745afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgxchg al, bl 4845afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgxchg al, [0] 4945afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgxchg [0], al 5045afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgxchg ax, bx 5145afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgxchg cx, ax 5245afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgxchg [0], ax 5345afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgxchg [0], cx 5445afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgxchg cx, [0] 5545afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgxchg eax, edx 5645afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgxchg ebx, eax 5745afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgxchg ecx, ebx 5845afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgxchg [0], ecx 5945afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgxchg eax, [0] 6045afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgin al, 55 6145afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgin ax, 99 6245afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgin eax, 100 6345afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgin al, dx 6445afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgin ax, dx 6545afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgin eax, dx 6645afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgout 55, al 6745afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgout 66, ax 6845afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgout 77, eax 6945afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgout dx, al 7045afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgout dx, ax 7145afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgout dx, eax 7245afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orglea bx, [5] 7345afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orglea ebx, [32] 7445afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orglds si, [0] 7545afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orglds ax, [1] 7645afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.org;lds ax, dword [1] 7745afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgles di, [5] 7845afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orglds eax, [7] 7945afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgles ebx, [9] 8045afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orglss esp, [11] 8145afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orglfs ecx, [13] 8245afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orglgs edx, [15] 8345afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.org;; TODO: add arith stuff 8445afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgimul eax, 4 8545afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgaad 8645afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgaam 8745afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgaad 5 8845afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgaam 10 8945afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgshl al, 5 9045afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgshl bl, 1 9145afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgshl cl, cl 9245afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgshr ax, 5 9345afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgshr bx, 1 9445afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgshr cx, cl 9545afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgshld ax, bx, 5 9645afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgshrd cx, dx, cl 9745afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgshld ecx, edx, 10 9845afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgshld eax, ebx, cl 9945afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgretn 10045afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgretf 10145afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgretn 8 10245afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgretf 16 10345afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgenter 10, 12 10445afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgsetc al 10545afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgsetc [0] 10645afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.org;; TODO: add bit manip 10745afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgint 10 10845afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.org;; TODO: add bound 10945afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.org;; TODO: add protection control 11045afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgfld dword [0] 11145afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgfld qword [4] 11245afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgfld tword [16] 11345afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgfld st2 11445afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgfstp dword [0] 11545afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgfstp st4 11645afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgfild word [0] 11745afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgfild dword [4] 11845afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgfild qword [8] 11945afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgfbld [100] 12045afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgfbld tword [10] 12145afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgfst dword [1] 12245afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgfst qword [8] 12345afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgfst st1 12445afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgfxch 12545afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgfxch st1 12645afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgfxch st0, st2 12745afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgfxch st2, st0 12845afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgfcom dword [0] 12945afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgfcom qword [8] 13045afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgfcom st1 13145afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgfcom st0, st0 13245afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgfucom st7 13345afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgfucomp st0, st5 13445afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgfadd dword [10] 13545afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgfadd qword [5] 13645afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgfadd st0 13745afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgfadd st0, st5 13845afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgfadd to st7 13945afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgfadd st6, st0 14045afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgfaddp ;NASM unsupported 14145afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgfaddp st2 14245afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgfaddp st5, st0 14345afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgfiadd word [10] 14445afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgfisub dword [4] 14545afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgfldcw [0] 14645afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgfnstcw [4] 14745afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgfstcw word [4] 14845afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgfnstsw [8] 14945afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgfnstsw ax 15045afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgfstsw word [0] 15145afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgfstsw ax 15245afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgffree st1 15345afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgffreep st0 ;NASM unsupported 15445afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgjc short label 15545afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgjc label 15645afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orglabel: 15745afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgjz label 15845afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgjz near label 15945afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgloop label 16045afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgjcxz label 16145afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgjecxz label 16245afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgcall label 16345afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgcall [label] 16445afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgcall dword [label] 16545afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.org;jmp label 16645afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgjmp short label 16745afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgjmp near label 16845afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgjmp far [label] 16945afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgjmp far dword [label] 17045afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgcall far word [label] 17145afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgloop short label 17245afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgjcxz short label 17345afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgjecxz short label 17445afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.org[bits 16] 17545afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgpush si 17645afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgpush esi 17745afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.org[bits 32] 17845afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgpush esi 179