]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
Assembler: accept SP as A7.
authorToni Wilen <twilen@winuae.net>
Sun, 3 Jun 2018 16:22:40 +0000 (19:22 +0300)
committerToni Wilen <twilen@winuae.net>
Sun, 3 Jun 2018 16:22:40 +0000 (19:22 +0300)
newcpu.cpp

index e148b71d0ac65fdbafcd27425c8e3e08f90f231f..b37a549eb8c8be2c3a64f411d107fdebb84c6f3e 100644 (file)
@@ -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)