daily pastebin goal
44%
SHARE
TWEET

Untitled

a guest Oct 23rd, 2018 70 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. .mode small ; // 1 segmento de datos y 1 de código
  2.  
  3. .data ; // Las siguientes declaraciones se insertarán en el segmento de datos
  4. a dw 500
  5. b dw 500
  6. c dw 0
  7.  
  8. .code ; // Las siguientes declaraciones se insertarán en el segmento de código
  9. mov ax, seg a
  10. mov ds, ax
  11.  
  12. mov ax, a
  13. sub ax, b
  14. mov c, ax
  15.  
  16. mov ah, 4ch
  17. int 21h
  18.  
  19. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top