X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?p=rmac;a=blobdiff_plain;f=dsp56k_amode.c;h=7937b106b87c54623bdaffdb17d665d4679b980a;hp=f5f6766fbe854b7a3909613469b1bea20c8e68dc;hb=9afaf60ca24cdb08f900ae584107e29e3af46566;hpb=29fa5dcf504b966803063a1c2891f58f97126d04 diff --git a/dsp56k_amode.c b/dsp56k_amode.c index f5f6766..7937b10 100644 --- a/dsp56k_amode.c +++ b/dsp56k_amode.c @@ -1,7 +1,7 @@ // // RMAC - Reboot's Macro Assembler for the Atari Jaguar Console System // AMODE.C - DSP 56001 Addressing Modes -// Copyright (C) 199x Landon Dyer, 2011-2019 Reboot and Friends +// Copyright (C) 199x Landon Dyer, 2011-2020 Reboot and Friends // RMAC derived from MADMAC v1.07 Written by Landon Dyer, 1986 // Source utilised with the kind permission of Landon Dyer // @@ -21,7 +21,7 @@ #include "mntab.h" // Address-mode information -int nmodes; // Number of addr'ing modes found +//int nmodes; // Number of addr'ing modes found int dsp_am0; // Addressing mode int dsp_a0reg; // Register TOKEN dsp_a0expr[EXPRSIZE]; // Expression @@ -62,6 +62,9 @@ uint64_t dspaaEXVAL; // Expression's value WORD dspaaEXATTR; // Expression's attribute SYM * dspaaESYM; // External symbol involved in expr +LONG dsp_a0perspace; // Peripheral space (X, Y - used in movep) +LONG dsp_a1perspace; // Peripheral space (X, Y - used in movep) + int dsp_k; // Multiplications sign static inline LONG checkea(const uint32_t termchar, const int strings);