From: Toni Wilen Date: Sun, 3 Jun 2018 16:22:40 +0000 (+0300) Subject: Assembler: accept SP as A7. X-Git-Tag: 4000~29 X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=440a0869c83fcfb91159610646523e9722041199;p=francis%2Fwinuae.git Assembler: accept SP as A7. --- diff --git a/newcpu.cpp b/newcpu.cpp index e148b71d..b37a549e 100644 --- a/newcpu.cpp +++ b/newcpu.cpp @@ -6808,6 +6808,8 @@ static int asm_isareg(const TCHAR *s) { if (s[0] == 'A' && s[1] >= '0' && s[1] <= '7') return s[1] - '0'; + if (s[0] == 'S' && s[1] == 'P') + return 7; return -1; } static int asm_ispc(const TCHAR *s)