Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ; ����������������������������������������������������������������������� *
- .486
- .model flat, stdcall
- option casemap :none ; case sensitive
- ; �������������������������������������������������������������������������
- ; ------------------------------------------------
- ; Library files that have definitions for function
- ; exports and tested reliable prebuilt code.
- ; ------------------------------------------------
- include masm32rt.inc
- includelib msvcrt.lib
- .data
- prompt db "Enter in a string",0
- prompt2 db "You entered in",0
- nline dd 0Ah
- .data?
- text byte 200 dup (?)
- .code
- start:
- invoke StdOut, ADDR prompt
- invoke StdOut, ADDR nline
- invoke StdIn, ADDR text, SIZEOF text
- invoke StdOut, ADDR prompt2
- invoke StdOut, ADDR nline
- invoke StdOut, ADDR text
- end start
Add Comment
Please, Sign In to add comment