Jump to content

Input loop: Difference between revisions

No edit summary
Line 1,917:
=={{header|x86 Assembly}}==
 
'''GAS, 64 bit (Linux)''': Compiled with <code>gcc -nostdlib</code>. Memory maps the file and outputs one line at a time. Try <code>./a.out file</code>, <code>./a.out < file</code>, or <code>./a.out <<< "Heredoc"</code>. It's a little like cat, but less functional.
<lang x86>#define SYS_WRITE $1
#define SYS_OPEN $2
Cookies help us deliver our services. By using our services, you agree to our use of cookies.