Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- dseg segment
- w1 dq 0123456789ABCDEFH
- w2 dq 0
- dseg ends
- sseg segment stack
- dw 100h dup(?)
- sseg ends
- cseg segment
- assume ds:dseg,cs:cseg,ss:sseg,ES:DSEG
- start: mov ax,dseg
- mov ds,ax
- mov si,0
- x: mov al,byte ptr w1[si]
- mov byte ptr w2[si],al
- inc si
- cmp si,8
- jne x
- mov ah,4ch
- int 21h
- cseg ends
- end start
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement