Friday, September 17, 2010

8086 PROGRAMS 07: NUMBERS OF +VE & -VE NUMBERS

      MOV SI,1100
      MOV CX,0A
      MOV AL,00
L2: MOV BX,[SI]
      ADD BX,00H
      JS L1
      INC SI
      INC AL
      DEC CX
      JNZ L2
      JMP L3
L1: INC SI
      INC AH
      DEC CX
      JNZ L2
L3: HLT

0 comments:

Post a Comment

Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | coupon codes