Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Aug 8th, 2013  |  syntax: None  |  size: 0.60 KB  |  views: 20  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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
clone this paste RAW Paste Data