⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 genopcode.asm

📁 支持AMD64的汇编编译器源码
💻 ASM
字号:
[bits 16]mov al, 0mov byte al, 0mov al, byte 0mov byte al, byte 0;mov al, word 0mov byte [0], 0mov [0], word 0mov dword [0], dword 0;mov [0], 0mov eax, 0mov dword eax, 0mov eax, dword 0;mov eax, word 0mov dword eax, dword 0mov bx, 1hmov cr0, eaxmov cr2, ebxmov cr4, edxmov ecx, cr4mov dr3, edxmov eax, dr7mov [0], almov [0], blmov [1], almov [1], blmov ecx, edxmovsx ax, [ecx];movzx eax, [edx]movzx ebx, word [eax]movzx ecx, byte [ebx]fnstenv [es:ecx+5]noppush cspush word cspush dword cs ; NASM unsupportedpush dspush espush fspush gspop dspop espop fspop gsxchg al, blxchg al, [0]xchg [0], alxchg ax, bxxchg cx, axxchg [0], axxchg [0], cxxchg cx, [0]xchg eax, edxxchg ebx, eaxxchg ecx, ebxxchg [0], ecxxchg eax, [0]in al, 55in ax, 99in eax, 100in al, dxin ax, dxin eax, dxout 55, alout 66, axout 77, eaxout dx, alout dx, axout dx, eaxlea bx, [5]lea ebx, [32]lds si, [0]lds ax, [1];lds ax, dword [1]les di, [5]lds eax, [7]les ebx, [9]lss esp, [11]lfs ecx, [13]lgs edx, [15];; TODO: add arith stuffimul eax, 4aadaamaad 5aam 10shl al, 5shl bl, 1shl cl, clshr ax, 5shr bx, 1shr cx, clshld ax, bx, 5shrd cx, dx, clshld ecx, edx, 10shld eax, ebx, clretnretfretn 8retf 16enter 10, 12setc alsetc [0];; TODO: add bit manipint 10;; TODO: add bound;; TODO: add protection controlfld dword [0]fld qword [4]fld tword [16]fld st2fstp dword [0]fstp st4fild word [0]fild dword [4]fild qword [8]fbld [100]fbld tword [10]fst dword [1]fst qword [8]fst st1fxchfxch st1fxch st0, st2fxch st2, st0fcom dword [0]fcom qword [8]fcom st1fcom st0, st0fucom st7fucomp st0, st5fadd dword [10]fadd qword [5]fadd st0fadd st0, st5fadd to st7fadd st6, st0faddp ;NASM unsupportedfaddp st2faddp st5, st0fiadd word [10]fisub dword [4]fldcw [0]fnstcw [4]fstcw word [4]fnstsw [8]fnstsw axfstsw word [0]fstsw axffree st1ffreep st0 ;NASM unsupportedjc short labeljc labellabel:jz labeljz near labelloop labeljcxz labeljecxz labelcall labelcall [label]call dword [label];jmp labeljmp short labeljmp near labeljmp far [label]jmp far dword [label]call far word [label][bits 16]push sipush esi[bits 32]push esi

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -