Guest User

Untitled

a guest
Aug 28th, 2018
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     LEA SI,BUF
  2.     MOV CX,SIZE
  3.     CALL    ZAD10
  4.     RET
  5. ZAD10:  XOR BX,BX
  6.     MOV DI,SI
  7.     MOV AX,0
  8. L:  REPE    SCASW
  9.     INC BX
  10.     JMP ZAD10L
  11. ZAD10L: LOOP    L
  12.     MOV AX,BX
  13.     RET
  14. BUF DW  0,1,-5,4,0,0,100
  15. SIZE    EQU ($-BUF)/TYPE BUF
Add Comment
Please, Sign In to add comment