Annotation of 3BSD/cmd/px/17rv.s, revision 1.1.1.1

1.1       root        1: #
                      2: # 17rv.s
                      3: #
                      4: # LVALUES and RVALUES
                      5: #
                      6: _LV:
                      7:        cvtbl   (r10)+,r0
                      8:        cvtwl   (r10)+,r1
                      9:        addl3   _display[r0],r1,-(sp)
                     10:        jmp     (r8)
                     11: _RV1:
                     12:        cvtbl   (r10)+,r0
                     13:        cvtwl   (r10)+,r1
                     14:        addl2   _display[r0],r1
                     15:        cvtbw   (r1),-(sp)
                     16:        jmp     (r8)
                     17: _RV2:
                     18:        cvtbl   (r10)+,r0
                     19:        cvtwl   (r10)+,r1
                     20:        addl2   _display[r0],r1
                     21:        movw    (r1),-(sp)
                     22:        jmp     (r8)
                     23: _RV4:
                     24:        cvtbl   (r10)+,r0
                     25:        cvtwl   (r10)+,r1
                     26:        addl2   _display[r0],r1
                     27:        pushl   (r1)
                     28:        jmp     (r8)
                     29: _RV8:
                     30:        cvtbl   (r10)+,r0
                     31:        cvtwl   (r10)+,r1
                     32:        addl2   _display[r0],r1
                     33:        movq    (r1),-(sp)
                     34:        jmp     (r8)
                     35: _RV:
                     36:        cvtbl   (r10)+,r0
                     37:        cvtwl   (r10)+,r1
                     38:        addl2   _display[r0],r1 #r1 points to string o be moved
                     39:        cvtwl   (r10)+,r0       #r0 has length of string to be moved
                     40: movblk:
                     41:        movl    r0,r2           #r2 has length of stack space
                     42:        blbc    r2,l1701        #adjust r2 to word boundry
                     43:        incl    r2
                     44: l1701:
                     45:        subl2   r2,sp           #allocate stack space
                     46:        movc5   r0,(r1),$0,r2,(sp)   #move string to stack
                     47:        jmp     (r8)

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.