; Set the Zero flag by adding two numbers and checking if the result is zero
mov eax, 0     ; Set EAX to 0
add eax, 0     ; Add 0 to EAX
call DumpRegs  ; Display registers and flags

; Clear the Zero flag by adding a non-zero number to EAX
add eax, 1     ; Add 1 to EAX
call DumpRegs  ; Display registers and flags

; Set the Sign flag by subtracting a larger number from a smaller one
mov eax, 0     ; Set EAX to 0
sub eax, 1     ; Subtract 1 from EAX
call DumpRegs  ; Display registers and flags

; Clear the Sign flag by subtracting a smaller number from a larger one
mov eax, 1     ; Set EAX to 1
sub eax, 0     ; Subtract 0 from EAX
call DumpRegs  ; Display registers and flags