1
0
mirror of https://github.com/simh/simh.git synced 2026-04-28 12:47:25 +00:00

Fixed for Compiler indicated bugs

This commit is contained in:
Mark Pizzolato
2012-04-27 15:09:40 -07:00
parent 78009646f0
commit 784f0542f2
2 changed files with 3 additions and 3 deletions

View File

@@ -402,7 +402,7 @@ if (op >= 64) /* successful? */
return SCPE_ARG;
val[0] = op | WM; /* store opcode */
cptr = get_glyph (cptr, gbuf, 0); /* get addr or d */
if (((op_table[op] && IO) && (get_io (gbuf, &val[1]) == SCPE_OK)) ||
if (((op_table[op] & IO) && (get_io (gbuf, &val[1]) == SCPE_OK)) ||
(get_addr (gbuf, &val[1]) == SCPE_OK)) {
cptr = get_glyph (cptr, gbuf, 0); /* get addr or d */
if (get_addr (gbuf, &val[4]) == SCPE_OK) {