SPP1 - mov al,0A3h sub al,0C6h ;carry flag set because the...

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

View Full Document Right Arrow Icon
TITLE SPP1 INCLUDE Irvine32.inc .code main PROC m mov al,0C6h add al,0A3h ;carry flag set because 169h cannot be represented in 8 bits call DumpRegs mov al,0C6h sub al,0A3h ;carry flag clear because the smaller number is subtracted from the bigger one 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,0A3h sub al,0C6h ;carry flag set because the bigger number is subtracted from the smaller one call DumpRegs mov al,56h add al,34h ;carry flag clear because the sum can be represented in 8 bits 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