projects
/
unix-history
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1d5499e
)
Research V2 development
author
Dennis Ritchie
<dmr@research.uucp>
Mon, 5 Jun 1972 22:37:11 +0000
(17:37 -0500)
committer
Dennis Ritchie
<dmr@research.uucp>
Mon, 5 Jun 1972 22:37:11 +0000
(17:37 -0500)
Work on file lib/link.s
Synthesized-from: v2
lib/link.s
[new file with mode: 0644]
patch
|
blob
diff --git a/lib/link.s
b/lib/link.s
new file mode 100644
(file)
index 0000000..
8116ee9
--- /dev/null
+++ b/
lib/link.s
@@ -0,0
+1,19
@@
+/ C library -- link
+
+/ error = link(old-file, new-file);
+/
+
+ .globl _link
+
+.data
+_link:
+ 1f
+.text
+1:
+ mov 2(sp),0f
+ mov 4(sp),0f+2
+ clr r0
+ sys link; 0:..; ..
+ adc r0
+ rts pc
+