4510 support: fixed some cosmetical stuff and documentation

This commit is contained in:
Sven Oliver Moll
2016-08-29 23:29:31 +02:00
parent 0538184699
commit 91f8e09bcc
4 changed files with 36 additions and 33 deletions

View File

@@ -145,12 +145,11 @@ void GetEA (EffAddr* A)
if (CurTok.Tok == TOK_COMMA) {
/* (adr),y */
NextTok ();
switch(CurTok.Tok) {
switch (CurTok.Tok) {
case TOK_Z:
if (CPU == CPU_4510) {
NextTok ();
A->AddrModeSet = AM65_DIR_IND;
}
/* only set by scanner.c if in 4510-mode */
NextTok ();
A->AddrModeSet = AM65_DIR_IND;
break;
default:
Consume (TOK_Y, "`Y' expected");