summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/instructions.s8
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/instructions.s b/examples/instructions.s
new file mode 100644
index 0000000..f16e6c1
--- /dev/null
+++ b/examples/instructions.s
@@ -0,0 +1,8 @@
+movl $4, %eax
+movl $1, %ebx
+movl $1, %eax
+movl $0, %ebx
+int $0x80
+
+movl $str, %ecx
+movl $str_len, %edx