1
0
mirror of https://github.com/open-simh/simh.git synced 2026-01-25 19:57:36 +00:00

alpha: Fix Coverity identified Defect: 1416171

This commit is contained in:
Bob Supnik
2017-03-14 18:22:04 -07:00
committed by Mark Pizzolato
parent 485114cae3
commit 934f4e6471

View File

@@ -365,7 +365,7 @@ if (ir & HW_LD_V) { /* virtual? */
res = SEXT_L_Q (res);
}
}
else if (ir & HW_LD_Q) R[ra] = ReadPQ (ea); /* physical, quad? */
else if (ir & HW_LD_Q) res = ReadPQ (ea); /* physical, quad? */
else {
res = ReadPL (ea); /* long, sext */
res = SEXT_L_Q (res);