X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?p=rmac;a=blobdiff_plain;f=riscasm.h;fp=riscasm.h;h=560726cce8591e62566e92ddde1dc2938f1333f6;hp=d73d29ab67c0352b9d43cc44e71e3bd1ae9c383c;hb=33bb2746fadd3501eccf6b1046cf8acdfb0f1e37;hpb=fe673c9fe1498448453f74d753e7dd4c8655e1b1 diff --git a/riscasm.h b/riscasm.h index d73d29a..560726c 100644 --- a/riscasm.h +++ b/riscasm.h @@ -6,13 +6,11 @@ // Source utilised with the kind permission of Landon Dyer // -#ifndef __RISCA_H__ -#define __RISCA_H__ +#ifndef __RISCASM_H__ +#define __RISCASM_H__ #include "rmac.h" -#define MAXINTERNCC 26 // Maximum internal condition codes - // RISC Instruction Types #define RI_NONE 0x0000 // No Operands - NOP #define RI_ONE 0x0001 // One Operand - Rd - ABS/NEG/etc @@ -36,13 +34,6 @@ #define CHECK_COMMA if(*tok++ != ',') { error(comma_error); return(ERROR); } -// Opcode Specific Data -struct opcoderecord { - short state; // Opcode Name - unsigned short typ; // Opcode Type - unsigned parm; // Opcode Parameter -}; - // Globals, externals etc extern unsigned orgactive; extern unsigned orgaddr; @@ -53,4 +44,4 @@ extern uint8_t riscImmTokenSeen; // Prototypes int GenerateRISCCode(int); -#endif // __RISCA_H__ +#endif // __RISCASM_H__