1: .globl  length
   2: .globl  position
   3: .globl  w, r, a, l
   4: /
   5: /
   6: /	routine to return the length of a string
   7: /
   8: /	mov	...,r1
   9: /	jsr	pc,length
  10: /	mov	r0,...
  11: /
  12: length:
  13:         mov     w(r1),r0
  14:         sub     a(r1),r0
  15:         rts     pc
  16: /
  17: /
  18: /	routine to return the read pointer position
  19: /
  20: /	mov	...,r1
  21: /	jsr	pc,position
  22: /	mov	r0,...
  23: /
  24: position:
  25:         mov     r(r1),r0
  26:         sub     a(r1),r0
  27:         rts     pc

Defined functions

length declared in line 1; defined in line 12; used 3 times
position declared in line 2; defined in line 24; used 1 times
  • in line 2
Last modified: 1975-05-14
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 435
Valid CSS Valid XHTML 1.0 Strict