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 (from parent 1:
742d48c
)
Research V2 development
author
Dennis Ritchie
<dmr@research.uucp>
Mon, 5 Jun 1972 22:44:29 +0000
(17:44 -0500)
committer
Dennis Ritchie
<dmr@research.uucp>
Mon, 5 Jun 1972 22:44:29 +0000
(17:44 -0500)
Work on file lib/time.s
Synthesized-from: v2
lib/time.s
[new file with mode: 0644]
patch
|
blob
diff --git a/lib/time.s
b/lib/time.s
new file mode 100644
(file)
index 0000000..
ce77465
--- /dev/null
+++ b/
lib/time.s
@@ -0,0
+1,19
@@
+/ C library -- time
+
+/ tvec = time(tvec);
+/
+/ tvec[0], tvec[1] contain the time
+
+ .globl _time
+
+.data
+_time:
+ 1f
+.text
+1:
+ mov 2(sp),r0
+ sys time
+ mov ac,(r0)
+ mov mq,2(r0)
+ rts pc
+