X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?p=rmac;a=blobdiff_plain;f=riscasm.h;h=b71c38e7bbc6b256a7ce79be4e6ad5d1d6984771;hp=83bd82447a4929f6e66a0dfe249b5cf01169b728;hb=bdbf34766f4d074a5933eb1326fe4ce03d249e10;hpb=ff2052bcaa1428a33a202822a81a6f9b8e567ef4 diff --git a/riscasm.h b/riscasm.h index 83bd824..b71c38e 100644 --- a/riscasm.h +++ b/riscasm.h @@ -1,18 +1,16 @@ // -// RMAC - Reboot's Macro Assembler for the Atari Jaguar Console System +// RMAC - Reboot's Macro Assembler for all Atari computers // RISCA.H - GPU/DSP Assembler -// Copyright (C) 199x Landon Dyer, 2017 Reboot and Friends +// Copyright (C) 199x Landon Dyer, 2011-2019 Reboot and Friends // RMAC derived from MADMAC v1.07 Written by Landon Dyer, 1986 // 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 @@ -34,14 +32,7 @@ #define GPUONLY 0x4000 // Opcode is for the GPU Only #define DSPONLY 0x8000 // Opcode is for the DSP Only -#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 -}; +#define CHECK_COMMA if (*tok++ != ',') { return error(comma_error); } // Globals, externals etc extern unsigned orgactive; @@ -53,4 +44,4 @@ extern uint8_t riscImmTokenSeen; // Prototypes int GenerateRISCCode(int); -#endif // __RISCA_H__ +#endif // __RISCASM_H__