summaryrefslogtreecommitdiff
path: root/xxx/read_eip.asm
diff options
context:
space:
mode:
authorMiguel <m.i@gmx.at>2018-09-02 00:08:42 +0200
committerMiguel <m.i@gmx.at>2018-09-02 00:08:42 +0200
commit8e3411139b27a3421e9ac75c13f14f99f6dd3137 (patch)
treecf8b53ab02863117c310bde11ee4683e134cf1b2 /xxx/read_eip.asm
parent0fff2e6dc6fae82da1c7978918a490c25cc36f04 (diff)
syscalls
Diffstat (limited to 'xxx/read_eip.asm')
-rw-r--r--xxx/read_eip.asm6
1 files changed, 6 insertions, 0 deletions
diff --git a/xxx/read_eip.asm b/xxx/read_eip.asm
new file mode 100644
index 0000000..3341943
--- /dev/null
+++ b/xxx/read_eip.asm
@@ -0,0 +1,6 @@
+; http://www.jamesmolloy.co.uk/tutorial_html/9.-Multitasking.html
+[bits 32]
+global read_eip
+read_eip:
+ pop eax
+ jmp eax