1: /
   2: /
   3: 
   4: / fxc -- size of array
   5: 
   6: .globl  size
   7: .globl  nelem
   8: 
   9: .globl  error
  10: 
  11: size:
  12:         movb    symtab+1(r3),r0
  13:         jsr     r5,nelem
  14:         inc     r0
  15:         bic     $1,r0           / round to 0 mod 2
  16:         rts     r5
  17: 
  18: nelem:
  19:         mov     r1,-(sp)
  20:         mov     r0,r1
  21:         mov     symtab(r3),r0
  22:         bic     $!70,r0
  23:         cmp     r0,$20
  24:         bne     1f
  25:         mov     symtab+2(r3),r0
  26:         mov     (r0)+,-(sp)
  27: 2:
  28:         mpy     (r0)+,r1
  29:         dec     (sp)
  30:         bgt     2b
  31:         tst     (sp)+
  32: 1:
  33:         mov     r1,r0
  34:         mov     (sp)+,r1
  35:         rts     r5

Defined functions

nelem declared in line 7; defined in line 18; used 2 times
  • in line 7, 13
size declared in line 6; defined in line 11; used 1 times
  • in line 6
Last modified: 1975-07-17
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 377
Valid CSS Valid XHTML 1.0 Strict