diff options
| author | faissaloo <faissaloo@gmail.com> | 2016-07-23 19:34:05 +0100 |
|---|---|---|
| committer | faissaloo <faissaloo@gmail.com> | 2016-07-23 19:34:05 +0100 |
| commit | c2b6ae2d55e3eba64e10eaeb39c126ab569e85ae (patch) | |
| tree | a9c727f0fb8ad6f25a545e7c8772dac725086f21 /sh.asm | |
| parent | c2f00cb50d8507c83b45798fb287dff407d18cdd (diff) | |
| download | dbsh-c2b6ae2d55e3eba64e10eaeb39c126ab569e85ae.tar.gz | |
Oops, was moving the string into r10 every loop
Diffstat (limited to 'sh.asm')
| -rw-r--r-- | sh.asm | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |
