diff options
| author | faissaloo <faissaloo@gmail.com> | 2016-08-05 19:42:28 +0100 |
|---|---|---|
| committer | faissaloo <faissaloo@gmail.com> | 2016-08-05 19:42:28 +0100 |
| commit | 1b716d42c6bb31c48c6b8df0b5b5c5118f723ef2 (patch) | |
| tree | 04fe9430c616756cbb8098f26333821deccd8bee | |
| parent | 5c12d1d842da344230a9d8b4b3f0121bef307257 (diff) | |
| download | dbsh-1b716d42c6bb31c48c6b8df0b5b5c5118f723ef2.tar.gz | |
Fixed parsing for PATH variables with or without speech marks
| -rwxr-xr-x | sh | bin | 1656 -> 1664 bytes | |||
| -rw-r--r-- | sh.asm | 6 |
2 files changed, 3 insertions, 3 deletions
| Binary files differ @@ -100,10 +100,10 @@ _start: shl rax, 24 cmp rax, r10 jne _pathfinder ;if we haven't, let's move right one and see if it's there - cmp byte [r8], `"` - je _pathfinder_continue + cmp byte [r8+5], `"` + jne _pathfinder_continue inc r8 - cmp byte [r8], 0 + cmp byte [r8+5], 0 jz _quit _pathfinder_continue: add r8, 0x5 |
