From 9aac5dff10f95be89a4f2e1070b6109a08e7289f Mon Sep 17 00:00:00 2001 From: Ry Date: Sat, 25 Jun 2022 16:32:32 -0700 Subject: [PATCH] Make the new_task info comments a bit more clear --- kernel/task.asm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/task.asm b/kernel/task.asm index bf82a38..365be5f 100644 --- a/kernel/task.asm +++ b/kernel/task.asm @@ -3,8 +3,8 @@ ; add a new task to the queue and jump to it immediately ; inputs: ; r0: task ID -; r1: pointer to task code -; r2: pointer to task stack +; r1: initial instruction pointer +; r2: initial stack pointer (remember that the stack grows down!) ; r3: pointer to code block to free when task ends, or zero for none ; r4: pointer to stack block to free when task ends, or zero for none ; outputs: