X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?p=rmac;a=blobdiff_plain;f=sect.c;fp=sect.c;h=b20542bbd172c554aa375c1bbb513724112ea3fe;hp=3cedbb24221c2f7279b40612cce48faef1f9e3d4;hb=7d748dc6e2259984c9093c48d84ae1ed280632ad;hpb=5559ac02922836380db93969986836bb004c8b37 diff --git a/sect.c b/sect.c index 3cedbb2..b20542b 100644 --- a/sect.c +++ b/sect.c @@ -18,9 +18,8 @@ #include "riscasm.h" #include "symbol.h" #include "token.h" -#define DEF_KW -#include "kwtab.h" -#undef DEF_KW +#define DEF_REGRISC +#include "riscregs.h" // Function prototypes void MakeSection(int, uint16_t); @@ -722,7 +721,7 @@ int ResolveFixups(int sno) } else if ((dw & FUMASKRISC) == FU_REGONE) { - eval -= KW_R0; + eval -= REGRISC_R0; if (eval > 31) { error("register one value out of range"); @@ -736,7 +735,7 @@ int ResolveFixups(int sno) } else if ((dw & FUMASKRISC) == FU_REGTWO) { - eval -= KW_R0; + eval -= REGRISC_R0; if (eval > 31) { error("register two value out of range");