summaryrefslogtreecommitdiff
path: root/src/stem/task_.asm
diff options
context:
space:
mode:
Diffstat (limited to 'src/stem/task_.asm')
-rw-r--r--src/stem/task_.asm10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/stem/task_.asm b/src/stem/task_.asm
new file mode 100644
index 0000000..ae45c68
--- /dev/null
+++ b/src/stem/task_.asm
@@ -0,0 +1,10 @@
+[GLOBAL read_eip]
+read_eip:
+ pop eax
+ jmp eax
+
+[GLOBAL task_idle]
+task_idle:
+ sti
+ hlt
+ jmp task_idle