summaryrefslogtreecommitdiff
path: root/asm/read_eip.asm
diff options
context:
space:
mode:
Diffstat (limited to 'asm/read_eip.asm')
-rw-r--r--asm/read_eip.asm6
1 files changed, 6 insertions, 0 deletions
diff --git a/asm/read_eip.asm b/asm/read_eip.asm
new file mode 100644
index 0000000..3341943
--- /dev/null
+++ b/asm/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