| Server IP : 82.208.35.60 / Your IP : 216.73.216.89 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/emulators/simh/files/ |
Upload File : |
--- PDP11/pdp11_cpu.c.orig 2016-12-01 22:43:42 UTC
+++ PDP11/pdp11_cpu.c
@@ -732,7 +732,7 @@ while (reason == 0) {
if (trap_req) { /* check traps, ints */
trapea = 0; /* assume srch fails */
- if (t = trap_req & TRAP_ALL) { /* if a trap */
+ if ((t = trap_req & TRAP_ALL)) { /* if a trap */
for (trapnum = 0; trapnum < TRAP_V_MAX; trapnum++) {
if ((t >> trapnum) & 1) { /* trap set? */
trapea = trap_vec[trapnum]; /* get vec, clr */