1: / C register save and restore -- version 12/74
   2: 
   3: .globl  csv
   4: .globl  cret
   5: 
   6: csv:
   7:         mov     r5,r0
   8:         mov     sp,r5
   9:         mov     r4,-(sp)
  10:         mov     r3,-(sp)
  11:         mov     r2,-(sp)
  12:         tst     -(sp)
  13:         jmp     (r0)
  14: 
  15: cret:
  16:         mov     r5,r1
  17:         mov     -(r1),r4
  18:         mov     -(r1),r3
  19:         mov     -(r1),r2
  20:         mov     r5,sp
  21:         mov     (sp)+,r5
  22:         rts     pc

Defined functions

cret declared in line 4; defined in line 15; used 11 times
csv declared in line 3; defined in line 6; used 10 times
Last modified: 1975-05-14
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 552
Valid CSS Valid XHTML 1.0 Strict