Annotation of researchv10dc/cmd/btree/btreport.s, revision 1.1

1.1     ! root        1: L11:   .stabs  "btreport.c",0x64,0,1,L11
        !             2:        .stabs  "vaxpcc2",0xf0,0,17665,526911312
        !             3:        .data
        !             4:        .comm   _ndcnt,24
        !             5:        .comm   _frcnt,4
        !             6:        .comm   _reccnt,4
        !             7:        .comm   _reclen,4
        !             8:        .comm   _bt,4
        !             9:        .text
        !            10:        .align  2
        !            11:        .globl  _main
        !            12: _main:
        !            13:        .word   L.R1
        !            14:        subl2   $L.SO1,sp
        !            15:        .stabs  "main",0x24,0,13,_main
        !            16:        .stabs  "main",0x20,0,68,0
        !            17:        .stabs  "argc",0xa0,0,4,4
        !            18:        .stabs  "argv",0xa0,0,162,8
        !            19:        movl    $1,-4(fp)
        !            20:        jbr     L35
        !            21: L36:
        !            22:        movl    -4(fp),r0
        !            23:        pushl   *8(ap)[r0]
        !            24:        calls   $1,_doarg
        !            25:        clrl    -8(fp)
        !            26:        jbr     L40
        !            27: L41:
        !            28:        movl    -8(fp),r0
        !            29:        clrl    _ndcnt[r0]
        !            30:        incl    -8(fp)
        !            31: L40:
        !            32:        cmpl    -8(fp),$5
        !            33:        jleq    L41
        !            34: L39:
        !            35:        clrl    _reclen
        !            36:        movl    _reclen,_reccnt
        !            37:        movl    _reccnt,_frcnt
        !            38:        addl3   $1,-4(fp),r0
        !            39:        cmpl    r0,4(ap)
        !            40:        jgeq    L42
        !            41:        decl    __iob+16
        !            42:        jlss    L44
        !            43:        movb    $10,r0
        !            44:        movl    __iob+20,r1
        !            45:        incl    __iob+20
        !            46:        movb    r0,(r1)
        !            47:        jbr     L45
        !            48: L44:
        !            49:        pushl   $__iob+16
        !            50:        pushl   $10
        !            51:        calls   $2,__flsbuf
        !            52: L45:
        !            53: L42:
        !            54:        incl    -4(fp)
        !            55: L35:
        !            56:        cmpl    -4(fp),4(ap)
        !            57:        jlss    L36
        !            58: L34:
        !            59:        pushl   $0
        !            60:        calls   $1,_exit
        !            61:        .stabs  "j",0x80,0,4,8
        !            62:        .stabs  "i",0x80,0,4,4
        !            63: L32:
        !            64:        ret
        !            65:        .set    L.R1,0x0
        !            66:        .set    L.SO1,0x8
        !            67: L47:   .stabs  "main",0xf4,0,23,L47
        !            68:        .data
        !            69:        .text
        !            70:        .align  2
        !            71:        .globl  _doarg
        !            72: _doarg:
        !            73:        .word   L.R2
        !            74:        subl2   $L.SO2,sp
        !            75:        .stabs  "doarg",0x24,0,27,_doarg
        !            76:        .stabs  "doarg",0x20,0,68,0
        !            77:        .stabs  "s",0xa0,0,34,4
        !            78:        pushl   $0
        !            79:        pushl   4(ap)
        !            80:        calls   $2,_bopen
        !            81:        movl    r0,_bt
        !            82:        tstl    _bt
        !            83:        jneq    L49
        !            84:        pushl   4(ap)
        !            85:        calls   $1,_strlen
        !            86:        movl    r0,-40(fp)
        !            87:        subl3   $2,-40(fp),r0
        !            88:        addl2   4(ap),r0
        !            89:        cmpb    (r0),$46
        !            90:        jneq    L51
        !            91:        subl3   $2,-40(fp),r0
        !            92:        addl2   4(ap),r0
        !            93:        clrb    (r0)
        !            94:        subl3   $1,-40(fp),r0
        !            95:        addl2   4(ap),r0
        !            96:        cmpb    (r0),$70
        !            97:        jneq    L52
        !            98:        jbr     L48
        !            99: L52:
        !           100:        subl3   $1,-40(fp),r0
        !           101:        addl2   4(ap),r0
        !           102:        cmpb    (r0),$84
        !           103:        jneq    L53
        !           104:        pushl   $0
        !           105:        pushl   4(ap)
        !           106:        calls   $2,_bopen
        !           107:        movl    r0,_bt
        !           108: L53:
        !           109: L51:
        !           110:        tstl    _bt
        !           111:        jneq    L54
        !           112:        pushl   4(ap)
        !           113:        calls   $1,_perror
        !           114:        jbr     L48
        !           115: L54:
        !           116: L49:
        !           117:        pushal  -32(fp)
        !           118:        movl    _bt,r0
        !           119:        pushl   64(r0)
        !           120:        calls   $2,_fstat
        !           121:        .data   1
        !           122: L58:
        !           123: 
        !           124:        .byte   0x25,0x73,0x2e,0x54,0x20,0x25,0x6c,0x64
        !           125:        .byte   0x20,0x62,0x79,0x74,0x65,0x73,0x0
        !           126:        .text
        !           127:        pushl   -16(fp)
        !           128:        pushl   4(ap)
        !           129:        pushl   $L58
        !           130:        calls   $3,_printf
        !           131:        movl    _bt,r0
        !           132:        tstl    68(r0)
        !           133:        jleq    L59
        !           134:        pushal  -32(fp)
        !           135:        movl    _bt,r0
        !           136:        pushl   68(r0)
        !           137:        calls   $2,_fstat
        !           138:        tstl    r0
        !           139:        jneq    L59
        !           140: L60:
        !           141:        .data   1
        !           142: L61:
        !           143: 
        !           144:        .byte   0x2c,0x20,0x25,0x73,0x2e,0x46,0x20,0x25
        !           145:        .byte   0x6c,0x64,0x20,0x62,0x79,0x74,0x65,0x73
        !           146:        .byte   0x0
        !           147:        .text
        !           148:        pushl   -16(fp)
        !           149:        pushl   4(ap)
        !           150:        pushl   $L61
        !           151:        calls   $3,_printf
        !           152: L59:
        !           153:        decl    __iob+16
        !           154:        jlss    L62
        !           155:        movb    $10,r0
        !           156:        movl    __iob+20,r1
        !           157:        incl    __iob+20
        !           158:        movb    r0,(r1)
        !           159:        jbr     L63
        !           160: L62:
        !           161:        pushl   $__iob+16
        !           162:        pushl   $10
        !           163:        calls   $2,__flsbuf
        !           164: L63:
        !           165:        pushl   $0
        !           166:        calls   $1,_donode
        !           167:        clrl    -40(fp)
        !           168:        movl    -40(fp),-36(fp)
        !           169:        jbr     L67
        !           170: L68:
        !           171:        movl    -40(fp),r0
        !           172:        ashl    $10,_ndcnt[r0],r1
        !           173:        addl2   r1,-36(fp)
        !           174:        incl    -40(fp)
        !           175: L67:
        !           176:        cmpl    -40(fp),$5
        !           177:        jleq    L68
        !           178: L66:
        !           179:        .data   1
        !           180: L69:
        !           181: 
        !           182:        .byte   0x25,0x6c,0x64,0x20,0x62,0x79,0x74,0x65
        !           183:        .byte   0x73,0x20,0x75,0x73,0x65,0x64,0x20,0x69
        !           184:        .byte   0x6e,0x20,0x74,0x72,0x65,0x65,0xa,0x0
        !           185:        .text
        !           186:        pushl   -36(fp)
        !           187:        pushl   $L69
        !           188:        calls   $2,_printf
        !           189:        clrl    -40(fp)
        !           190:        jbr     L72
        !           191: L73:
        !           192:        .data   1
        !           193: L74:
        !           194: 
        !           195:        .byte   0x20,0x25,0x6c,0x64,0x20,0x6e,0x6f,0x64
        !           196:        .byte   0x65,0x73,0x20,0x61,0x74,0x20,0x6c,0x65
        !           197:        .byte   0x76,0x65,0x6c,0x20,0x25,0x64,0x0
        !           198:        .text
        !           199:        pushl   -40(fp)
        !           200:        movl    -40(fp),r0
        !           201:        pushl   _ndcnt[r0]
        !           202:        pushl   $L74
        !           203:        calls   $3,_printf
        !           204:        incl    -40(fp)
        !           205: L72:
        !           206:        movl    _bt,r0
        !           207:        cvtbl   28(r0),r0
        !           208:        cmpl    -40(fp),r0
        !           209:        jleq    L73
        !           210: L71:
        !           211:        .data   1
        !           212: L75:
        !           213: 
        !           214:        .byte   0xa,0x25,0x6c,0x64,0x20,0x62,0x79,0x74
        !           215:        .byte   0x65,0x73,0x20,0x66,0x72,0x65,0x65,0xa
        !           216:        .byte   0x0
        !           217:        .text
        !           218:        pushl   _frcnt
        !           219:        pushl   $L75
        !           220:        calls   $2,_printf
        !           221:        .data   1
        !           222: L76:
        !           223: 
        !           224:        .byte   0x25,0x6c,0x64,0x20,0x72,0x65,0x63,0x6f
        !           225:        .byte   0x72,0x64,0x73,0x20,0x74,0x6f,0x74,0x61
        !           226:        .byte   0x6c,0x6c,0x69,0x6e,0x67,0x20,0x25,0x6c
        !           227:        .byte   0x64,0x20,0x62,0x79,0x74,0x65,0x73,0xa
        !           228:        .byte   0x0
        !           229:        .text
        !           230:        pushl   _reclen
        !           231:        pushl   _reccnt
        !           232:        pushl   $L76
        !           233:        calls   $3,_printf
        !           234:        pushl   _bt
        !           235:        calls   $1,_bclose
        !           236:        .stabs  "i",0x80,0,4,40
        !           237:        .stabs  "x",0x80,0,4,36
        !           238:        .stabs  "statbuf",0x80,0,8,32
        !           239:        .stabs  "stat",0xfa,0,0,0
        !           240: L48:
        !           241:        ret
        !           242:        .set    L.R2,0x0
        !           243:        .set    L.SO2,0x28
        !           244: L78:   .stabs  "doarg",0xf4,0,59,L78
        !           245:        .data
        !           246:        .text
        !           247:        .align  2
        !           248:        .globl  _donode
        !           249: _donode:
        !           250:        .word   L.R3
        !           251:        subl2   $L.SO3,sp
        !           252:        .stabs  "donode",0x24,0,64,_donode
        !           253:        .stabs  "donode",0x20,0,68,0
        !           254:        .stabs  "n",0xa0,0,4,4
        !           255:        moval   -1024(fp),-1028(fp)
        !           256:        pushl   $0
        !           257:        ashl    $10,4(ap),-(sp)
        !           258:        movl    _bt,r0
        !           259:        pushl   64(r0)
        !           260:        calls   $3,_lseek
        !           261:        pushl   $1024
        !           262:        pushal  -1024(fp)
        !           263:        movl    _bt,r0
        !           264:        pushl   64(r0)
        !           265:        calls   $3,_read
        !           266:        movl    r0,-1032(fp)
        !           267:        cmpl    -1032(fp),$1024
        !           268:        jeql    L82
        !           269:        .data   1
        !           270: L83:
        !           271: 
        !           272:        .byte   0x62,0x74,0x72,0x65,0x70,0x6f,0x72,0x74
        !           273:        .byte   0x3a,0x20,0x61,0x74,0x74,0x65,0x6d,0x70
        !           274:        .byte   0x74,0x20,0x74,0x6f,0x20,0x72,0x65,0x61
        !           275:        .byte   0x64,0x20,0x6e,0x6f,0x64,0x65,0x20,0x25
        !           276:        .byte   0x64,0x20,0x66,0x61,0x69,0x6c,0x65,0x64
        !           277:        .byte   0xa,0x0
        !           278:        .text
        !           279:        pushl   4(ap)
        !           280:        pushl   $L83
        !           281:        calls   $2,_printf
        !           282:        .data   1
        !           283: L84:
        !           284: 
        !           285:        .byte   0x62,0x72,0x65,0x70,0x6f,0x72,0x74,0x0
        !           286:        .text
        !           287:        pushl   $L84
        !           288:        calls   $1,_perror
        !           289:        pushl   $1
        !           290:        calls   $1,_exit
        !           291: L82:
        !           292:        movl    -1028(fp),r0
        !           293:        cvtbl   7(r0),r0
        !           294:        incl    _ndcnt[r0]
        !           295:        movl    -1028(fp),r0
        !           296:        cvtwl   1022(r0),r0
        !           297:        addl2   r0,_frcnt
        !           298:        movl    -1028(fp),r0
        !           299:        tstb    7(r0)
        !           300:        jeql    L85
        !           301:        clrl    -1032(fp)
        !           302:        jbr     L88
        !           303: L89:
        !           304:        addl3   $1022,-1028(fp),r0
        !           305:        addl3   -1032(fp),-1032(fp),r1
        !           306:        addl2   r1,r1
        !           307:        subl2   r1,r0
        !           308:        pushl   -4(r0)
        !           309:        calls   $1,_donode
        !           310:        incl    -1032(fp)
        !           311: L88:
        !           312:        movl    -1028(fp),r0
        !           313:        cvtwl   4(r0),r0
        !           314:        cmpl    -1032(fp),r0
        !           315:        jleq    L89
        !           316: L87:
        !           317:        jbr     L90
        !           318: L85:
        !           319:        clrl    -1032(fp)
        !           320:        jbr     L93
        !           321: L94:
        !           322:        incl    _reccnt
        !           323:        movl    -1028(fp),r0
        !           324:        bitb    $2,6(r0)
        !           325:        jneq    L95
        !           326:        addl3   $1022,-1028(fp),r0
        !           327:        addl3   -1032(fp),-1032(fp),r1
        !           328:        addl2   r1,r1
        !           329:        addl2   r1,r1
        !           330:        subl2   r1,r0
        !           331:        movzwl  -4(r0),r0
        !           332:        addl2   r0,_reclen
        !           333: L95:
        !           334:        incl    -1032(fp)
        !           335: L93:
        !           336:        movl    -1028(fp),r0
        !           337:        cvtwl   4(r0),r0
        !           338:        cmpl    -1032(fp),r0
        !           339:        jlss    L94
        !           340: L92:
        !           341: L90:
        !           342:        .stabs  "i",0x80,0,4,1032
        !           343:        .stabs  "b",0x80,0,40,1028
        !           344:        .stabs  "hdr",0xfa,0,0,0
        !           345:        .stabs  "buf",0x80,0,98,1024
        !           346:        .stabn  0xfc,0,0,1024
        !           347: L79:
        !           348:        ret
        !           349:        .set    L.R3,0x0
        !           350:        .set    L.SO3,0x408
        !           351: L96:   .stabs  "donode",0xf4,0,85,L96
        !           352:        .data
        !           353:        .align  2
        !           354: _VER:
        !           355:        .long   _VER
        !           356:        .data   2
        !           357: L98:
        !           358: 
        !           359:        .byte   0xa,0x38,0x31,0x2f,0x34,0x2f,0x32,0x36
        !           360:        .byte   0x3a,0x62,0x74,0x72,0x65,0x70,0x6f,0x72
        !           361:        .byte   0x74,0x2e,0x63,0xa,0x0
        !           362:        .data
        !           363:        .long   L98
        !           364:        .stabs  "cbt.h$73",0x5c,0,8,0
        !           365:        .stabs  "lloc",0x60,0,4,0
        !           366:        .stabs  "llen",0x60,0,13,4
        !           367:        .stabs  "cbt.h$73",0x5e,0,8,8
        !           368:        .stabs  "cbt.h$61",0x5c,0,8,0
        !           369:        .stabs  "tfree",0x60,0,3,0
        !           370:        .stabs  "cbt.h$61",0x5e,0,8,2
        !           371:        .stabs  "hdr",0x5c,0,8,0
        !           372:        .stabs  "hstamp",0x60,0,4,0
        !           373:        .stabs  "kcnt",0x60,0,3,4
        !           374:        .stabs  "htype",0x60,0,2,6
        !           375:        .stabs  "hlev",0x60,0,2,7
        !           376:        .stabs  "hdr",0x5e,0,8,8
        !           377:        .stabs  "bfile",0x5c,0,8,0
        !           378:        .stabs  "next",0x60,0,40,0
        !           379:        .stabs  "bfile",0xfa,0,0,0
        !           380:        .stabs  "path",0x60,0,232,4
        !           381:        .stabs  "hdr",0xfa,0,0,0
        !           382:        .stabn  0xfc,0,0,6
        !           383:        .stabs  "height",0x60,0,2,28
        !           384:        .stabs  "advnc",0x60,0,2,29
        !           385:        .stabs  "rdwrt",0x60,0,2,30
        !           386:        .stabs  "flag",0x60,0,98,31
        !           387:        .stabn  0xfc,0,0,6
        !           388:        .stabs  "loc",0x60,0,100,40
        !           389:        .stabn  0xfc,0,0,6
        !           390:        .stabs  "tfd",0x60,0,4,64
        !           391:        .stabs  "dfd",0x60,0,4,68
        !           392:        .stabs  "fname",0x60,0,34,72
        !           393:        .stabs  "altname",0x60,0,34,76
        !           394:        .stabs  "rdptr",0x60,0,8,80
        !           395:        .stabs  "rdptr",0xfa,0,0,0
        !           396:        .stabs  "fatal",0x60,0,2,336
        !           397:        .stabs  "bfile",0x5e,0,8,340
        !           398:        .stabs  "_iob",0x20,0,104,0
        !           399:        .stabs  "_iobuf",0xfa,0,0,0
        !           400:        .stabn  0xfc,0,0,120
        !           401:        .stabs  "_iobuf",0x5c,0,8,0
        !           402:        .stabs  "_cnt",0x60,0,4,0
        !           403:        .stabs  "_ptr",0x60,0,44,4
        !           404:        .stabs  "_base",0x60,0,44,8
        !           405:        .stabs  "_flag",0x60,0,3,12
        !           406:        .stabs  "_file",0x60,0,2,14
        !           407:        .stabs  "_iobuf",0x5e,0,8,16
        !           408:        .stabs  "VER",0x26,0,8,_VER
        !           409:        .stabs  "D",0xfa,0,0,0
        !           410:        .stabs  "bt",0x20,0,40,0
        !           411:        .stabs  "bfile",0xfa,0,0,0
        !           412:        .stabs  "reclen",0x20,0,4,0
        !           413:        .stabs  "reccnt",0x20,0,4,0
        !           414:        .stabs  "frcnt",0x20,0,4,0
        !           415:        .stabs  "ndcnt",0x20,0,100,0
        !           416:        .stabn  0xfc,0,0,6
        !           417:        .stabs  "stat",0x5c,0,8,0
        !           418:        .stabs  "st_dev",0x60,0,13,0
        !           419:        .stabs  "st_ino",0x60,0,13,2
        !           420:        .stabs  "st_mode",0x60,0,13,4
        !           421:        .stabs  "st_nlink",0x60,0,3,6
        !           422:        .stabs  "st_uid",0x60,0,3,8
        !           423:        .stabs  "st_gid",0x60,0,3,10
        !           424:        .stabs  "st_rdev",0x60,0,13,12
        !           425:        .stabs  "st_size",0x60,0,4,16
        !           426:        .stabs  "st_atime",0x60,0,4,20
        !           427:        .stabs  "st_mtime",0x60,0,4,24
        !           428:        .stabs  "st_ctime",0x60,0,4,28
        !           429:        .stabs  "stat",0x5e,0,8,32
        !           430:        .text
        !           431: L99:   .stabs  "btreport.c",0x94,0,87,L99

unix.superglobalmegacorp.com

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