Annotation of 42BSD/old/sdb/reginit.c, revision 1.1.1.1

1.1       root        1: #ifndef lint
                      2: static char sccsid[] = "@(#)reginit.c  4.1 82/10/27";
                      3: #endif not lint
                      4: 
                      5: #include "head.h"
                      6: 
                      7: STRING regnames[] = {
                      8:        "r0", "r1", "r2", "r3", "r4", "r5", "r6", "r7",
                      9:        "r8", "r9", "r10","r11","ap", "fp", "sp", "pc"};
                     10: 
                     11: #ifndef SDB
                     12: /*
                     13:  *     These are defined/included in optab.c
                     14:  */
                     15: REGLIST reglist [] = {
                     16:                "p1lr", P1LR,
                     17:                "p1br",P1BR,
                     18:                "p0lr", P0LR,
                     19:                "p0br",P0BR,
                     20:                "ksp",KSP,
                     21:                "esp",ESP,
                     22:                "ssp",SSP,
                     23:                "psl", PSL,
                     24:                "pc", PC,
                     25:                "usp",USP,
                     26:                "fp", FP,
                     27:                "ap", AP,
                     28:                "r11", R11,
                     29:                "r10", R10,
                     30:                "r9", R9,
                     31:                "r8", R8,
                     32:                "r7", R7,
                     33:                "r6", R6,
                     34:                "r5", R5,
                     35:                "r4", R4,
                     36:                "r3", R3,
                     37:                "r2", R2,
                     38:                "r1", R1,
                     39:                "r0", R0,
                     40: };
                     41: #endif not SDB

unix.superglobalmegacorp.com

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