Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .mode small ; // 1 segmento de datos y 1 de código
- .data ; // Las siguientes declaraciones se insertarán en el segmento de datos
- a dw 500
- b dw 500
- c dw 0
- .code ; // Las siguientes declaraciones se insertarán en el segmento de código
- mov ax, seg a
- mov ds, ax
- mov ax, a
- sub ax, b
- mov c, ax
- mov ah, 4ch
- int 21h
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement