Missed a few double parens in eagen0.c. :-P
authorShamus Hammons <jlhamm@acm.org>
Tue, 29 Aug 2017 18:49:06 +0000 (13:49 -0500)
committerShamus Hammons <jlhamm@acm.org>
Tue, 29 Aug 2017 18:49:06 +0000 (13:49 -0500)
eagen0.c
mach.c

index 9293a9f7e1d2eba64a52527cb108136e1cbe6546..e7f388512ab35d48c3d588f7fd5b08b551757132 100644 (file)
--- a/eagen0.c
+++ b/eagen0.c
@@ -253,10 +253,10 @@ int eaNgen(WORD siz)
 
                break;
        case DINDW:
-               D_word(0x190|(aNixreg<<12));
+               D_word((0x190 | (aNixreg << 12)));
                break;
        case DINDL:
-               D_word(0x990|(aNixreg<<12));
+               D_word((0x990 | (aNixreg << 12)));
                break;
        case ABASE:
        case MEMPOST:
@@ -266,11 +266,11 @@ int eaNgen(WORD siz)
        case PCMPRE:
                D_word(aNexten);
                // Deposit bd (if not suppressed)
-               if ((aNexten&0x0030)==EXT_BDSIZE0)
+               if ((aNexten & 0x0030) == EXT_BDSIZE0)
                {
                        // Don't deposit anything (suppressed)
                }
-               else if ((aNexten&0x0030)==EXT_BDSIZEW)
+               else if ((aNexten & 0x0030) == EXT_BDSIZEW)
                {
                        // Deposit word bd
                        if (wbd)
diff --git a/mach.c b/mach.c
index 2da58ec74a9614918e2f723fb64eb2cb6eff4ed8..747300228ba04432e0cad285c2480562c4f2a32e 100644 (file)
--- a/mach.c
+++ b/mach.c
@@ -1280,7 +1280,7 @@ int m_bfop(WORD inst, WORD siz)
         bfparam1 = bfval1 << 12;
     }
 
-       D_word((inst|am0|a0reg|am1|a1reg));
+       D_word((inst | am0 | a0reg | am1 | a1reg));
        ea0gen(siz);    // Generate EA
 
        // Second instruction word - Dest register (if exists), Do, Offset, Dw, Width