home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / MAGAZINE / MISC / PCTV1N4.ZIP / L5.ASM < prev    next >
Encoding:
Assembly Source File  |  1990-08-02  |  348 b   |  13 lines

  1.  
  2.  
  3.      CLC            ;clear the carry for the initial addition
  4. LOOP_TOP:
  5.      MOV  AX,[SI]   ;get next source operand word
  6.      ADC  [DI],AX   ;add with carry to dest operand word
  7.      INC  SI        ;point to next source operand word
  8.      INC  SI
  9.      INC  DI        ;point to next dest operand word
  10.      INC  DI
  11.      LOOP LOOP_TOP
  12.  
  13.