/*-=-=-=-=-=-=-=-=-=-=-=- RCCL/RCI Notice of Copyright -=-=-=-=-=-=-=-=-=-=-*
 *									    *
 *	Copyright (C) 1987, 1991 by Mike Parker.			    *
 *									    *
 *	Information on copyright permissions, as well as a complete	    *
 *	disclaimer of warranty, is given in the file COPYRIGHT.		    *
 *									    *
 *-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/

#include "regnames.h"

REGNAME regnames[] = { { "ksp",    REG_IPR,     REG_DANGER_TO,    0 },
                       { "esp",    REG_IPR,     REG_DANGER_NONE,  1 },
                       { "ssp",    REG_IPR,     REG_DANGER_NONE,  2 },
                       { "usp",    REG_IPR,     REG_DANGER_NONE,  3 },
                       { "isp",    REG_IPR,     REG_DANGER_TO,    4 },
                       { "p0br",   REG_IPR,     REG_DANGER_NONE,  8 },
                       { "p0lr",   REG_IPR,     REG_DANGER_NONE,  9 },
                       { "p1br",   REG_IPR,     REG_DANGER_NONE, 10 },
                       { "p1lr",   REG_IPR,     REG_DANGER_NONE, 11 },
                       { "sbr",    REG_IPR,     REG_DANGER_TO,   12 },
                       { "slr",    REG_IPR,     REG_DANGER_TO,   13 },
                       { "pcbb",   REG_IPR,     REG_DANGER_TO,   16 },
                       { "scbb",   REG_IPR,     REG_DANGER_TO,   17 },
                       { "ipl",    REG_IPR,     REG_DANGER_TO,   18 },
                       { "astlvl", REG_IPR,     REG_DANGER_NONE, 19 },
                       { "sirr",   REG_IPR,     REG_DANGER_NONE, 20 },
                       { "sisr",   REG_IPR,     REG_DANGER_NONE, 21 },
                       { "iccs",   REG_IPR,     REG_DANGER_NONE, 24 },
                       { "rxcs",   REG_IPR,     REG_DANGER_TO,   32 },
                       { "rxdb",   REG_IPR,     REG_DANGER_BOTH, 33 },
                       { "txcs",   REG_IPR,     REG_DANGER_TO,   34 },
                       { "txdb",   REG_IPR,     REG_DANGER_BOTH, 35 },
                       { "iur",    REG_IPR,     REG_DANGER_NONE, 55 },
                       { "mapen",  REG_IPR,     REG_DANGER_TO,   56 },
                       { "tbia",   REG_IPR,     REG_DANGER_NONE, 57 },
                       { "tbis",   REG_IPR,     REG_DANGER_NONE, 58 },
                       { "pmr",    REG_IPR,     REG_DANGER_NONE, 61 },
                       { "sid",    REG_IPR,     REG_DANGER_NONE, 62 },
                       { "r0",     REG_GENERAL, REG_DANGER_NONE,  0 },
                       { "r1",     REG_GENERAL, REG_DANGER_NONE,  1 },
                       { "r2",     REG_GENERAL, REG_DANGER_NONE,  2 },
                       { "r3",     REG_GENERAL, REG_DANGER_NONE,  3 },
                       { "r4",     REG_GENERAL, REG_DANGER_NONE,  4 },
                       { "r5",     REG_GENERAL, REG_DANGER_NONE,  5 },
                       { "r6",     REG_GENERAL, REG_DANGER_NONE,  6 },
                       { "r7",     REG_GENERAL, REG_DANGER_NONE,  7 },
                       { "r8",     REG_GENERAL, REG_DANGER_NONE,  8 },
                       { "r9",     REG_GENERAL, REG_DANGER_NONE,  9 },
                       { "r10",    REG_GENERAL, REG_DANGER_NONE, 10 },
                       { "r11",    REG_GENERAL, REG_DANGER_NONE, 11 },
                       { "r12",    REG_GENERAL, REG_DANGER_NONE, 12 },
                       { "ap",     REG_GENERAL, REG_DANGER_NONE, 12 },
                       { "r13",    REG_GENERAL, REG_DANGER_NONE, 13 },
                       { "fp",     REG_GENERAL, REG_DANGER_NONE, 13 },
                       { "r14",    REG_GENERAL, REG_DANGER_NONE, 14 },
                       { "sp",     REG_GENERAL, REG_DANGER_NONE, 14 }, };

int nregnames = sizeof(regnames) / sizeof(regnames[0]);
