这有什么问题?我在这里没有看到错误。它告诉我未知的寄存器,但由于我对汇编知之甚少,我真的不知道问题所在。
; Clicking button saves & builds using commands:
; nasm -f elf -g -F stabs evil.asm
; ld -o evil evil.o
section .data
Snippet: db "@E9>06G@Q:CN3C57I<)<)*"
SnipLen: equ $-Snippet
section .text
global _start
_start:
nop
mov ecx,Snippet
mov edx,SnipLen
mov eax,6
DoMore: add byte [ecx],af
inc ecx
inc eax
dec edx
jnz DoMore
mov eax,4
mov ebx,1
sub ecx,SnipLen
mov edx,SnipLen
int 80H
mov eax,1
mov ebx,0
int 80H
nop