bunnytaur

bunnyboi

Jul 21st, 2008
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ; ����������������������������������������������������������������������� *
  2.  
  3.     .486
  4.     .model flat, stdcall
  5.     option casemap :none   ; case sensitive
  6.  
  7. ; �������������������������������������������������������������������������
  8.  
  9.  
  10.   ; ------------------------------------------------
  11.   ; Library files that have definitions for function
  12.   ; exports and tested reliable prebuilt code.
  13.   ; ------------------------------------------------
  14.  
  15.       include masm32rt.inc
  16.       includelib msvcrt.lib
  17.  
  18.     .data
  19.     prompt db "Enter in a string",0
  20.     prompt2 db "You entered in",0
  21.     nline dd 0Ah
  22.    
  23.     .data?
  24.     text  byte 200 dup (?)
  25.    
  26.     .code
  27. start:
  28.  
  29.     invoke StdOut, ADDR prompt
  30.     invoke StdOut, ADDR nline
  31.         invoke StdIn,  ADDR text, SIZEOF text
  32.     invoke StdOut, ADDR prompt2
  33.     invoke StdOut, ADDR nline
  34.     invoke StdOut, ADDR text
  35.    
  36.     end start
Add Comment
Please, Sign In to add comment