SPP2 - mov al,57h add al,36h ;sign flag set because the...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
TITLE SPP2 INCLUDE Irvine32.inc .code main PROC m mov al,0C6h sub al,0C6h ;zero flag set because we are subtracting a number from itself call DumpRegs mov al,0C6h add al,0A3h ;zero flag clear because the result of the addition is not zero call DumpRegs
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: mov al,57h add al,36h ;sign flag set because the result of the addition is negative call DumpRegs mov al,56h sub al,34h ;sign flag clear because the result of the subtraction is positive call DumpRegs exit main ENDP END main...
View Full Document

This note was uploaded on 04/24/2010 for the course COS 235 taught by Professor Karagiozov during the Fall '08 term at American University in Bulgaria.

Ask a homework question - tutors are online