Advertisement
Guest User

Untitled

a guest
Aug 8th, 2013
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. 0000 codesg Segment
  2. Assume cs:codesg,ds:datasg
  3. 0000 Main proc Far
  4. 0000 B8 ---- R mov ax,seg datasg
  5. 0003 8B D0 mov dx,ax
  6. 0005 A1 000A R mov ax,b2+2
  7. 0008 50 push ax
  8. 0009 A1 000A R l1: mov ax,x
  9. 000C 40 inc ax
  10. 000D 3C 05 cmp al,5
  11. 000F 75 09 jne l2
  12. 0011 8B 0E 0008 R mov cx,a2+2
  13. 0015 E2 F2 loop l1
  14. 0017 B8 0000 mov ax,0
  15. 001A CB l2: ret
  16. 001B main endp
  17. 001B codesg ends
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement