为什么在此程序中设置了AF SF IF标志

时间:2018-01-24 16:04:54

标签: assembly x86 gdb nasm

section .data
hello:     db 'hello world!',10,13
helloLen   equ $-hello

section .text
    global main

main:
    mov eax,4
    mov ebx,1
    mov ecx,hello
    mov edx,helloLen
    int 80h

    mov eax,1
    mov ebx,0
    int 80h

当我从一开始就逐行调试此行时,在EFLAGS寄存器中设置AF SF IF标志

0 个答案:

没有答案