summaryrefslogtreecommitdiff
path: root/sh.asm
diff options
context:
space:
mode:
Diffstat (limited to 'sh.asm')
-rw-r--r--sh.asm3
1 files changed, 2 insertions, 1 deletions
diff --git a/sh.asm b/sh.asm
index 0c5d707..81f616f 100644
--- a/sh.asm
+++ b/sh.asm
@@ -151,12 +151,13 @@ _parse_path2:
jl _quit
mov r8, r9
dec r8
+
; Reads the PATH variable
+ mov r10, `\0\0PATH="`
_pathfinder:
inc r8
;Check that we've found the PATH variable
- mov r10, `\0\0PATH="`
mov rax, [r8]
shl rax, 16
cmp rax,r10