diff options
| author | faissaloo <faissaloo@gmail.com> | 2016-06-21 21:14:24 +0100 |
|---|---|---|
| committer | faissaloo <faissaloo@gmail.com> | 2016-06-21 21:14:24 +0100 |
| commit | 32110b5a5f404206e2a4fb5b3d9f2ae2a874f29b (patch) | |
| tree | 0df8ac9ef927c0e5227ab0d372e05106422b390f | |
| parent | d6f8317ebfbfdc2a5e492fcc5023dd320e41569a (diff) | |
| download | dbsh-32110b5a5f404206e2a4fb5b3d9f2ae2a874f29b.tar.gz | |
Sped up a push
| -rwxr-xr-x | sh | bin | 3904 -> 3904 bytes | |||
| -rw-r--r-- | sh.asm | 5 | ||||
| -rw-r--r-- | sh.o | bin | 4192 -> 4192 bytes |
3 files changed, 2 insertions, 3 deletions
| Binary files differ @@ -110,7 +110,6 @@ _wait_for_proc: syscall mov r10, r12 ;restore - ;mov r10,30 mov dword [cpid], -0x1 jmp _rloop @@ -206,8 +205,8 @@ _parse: ; needs special commands: cd exit export eval ;syscall 80 is chdir, so do that first, it's easiest ;It takes a path string. ;also needs pipes (|, >, <) - push 0x0 - xor r13, r13 + xor r13, r13 ;for _strlen + push r13 ;push 0 jmp _strlen ;r8 holds strlen so we start at the end and parse backwards Binary files differ |
