MASK18 374 src/dps8/dps8_addrmods.c & MASK18; MASK18 505 src/dps8/dps8_addrmods.c cpu.TPR.CA &= MASK18; // keep to 18-bits MASK18 552 src/dps8/dps8_addrmods.c cpu.TPR.CA &= MASK18; // keep to 18-bits MASK18 747 src/dps8/dps8_addrmods.c cpu.TPR.CA &= MASK18; // keep to 18-bits MASK18 918 src/dps8/dps8_addrmods.c Yi &= MASK18; MASK18 990 src/dps8/dps8_addrmods.c Yi &= MASK18; MASK18 1096 src/dps8/dps8_addrmods.c Yi &= MASK18; MASK18 1163 src/dps8/dps8_addrmods.c Yi &= MASK18; MASK18 1230 src/dps8/dps8_addrmods.c Yi &= MASK18; MASK18 1299 src/dps8/dps8_addrmods.c Yi &= MASK18; MASK18 1383 src/dps8/dps8_addrmods.c Yi &= MASK18; MASK18 1495 src/dps8/dps8_addrmods.c Yi &= MASK18; MASK18 2019 src/dps8/dps8_append.c cpu.PR[n].WORDNO = (cpu.PPR.IC + 1) & MASK18; MASK18 760 src/dps8/dps8_cpu.c if (o < 0 || o > MASK18) MASK18 3980 src/dps8/dps8_cpu.c w0 |= IWB_IRODD & MASK18; MASK18 3991 src/dps8/dps8_cpu.c w1 |= (ICT & MASK18) << 18; MASK18 4011 src/dps8/dps8_cpu.c w0 |= (ZCA & MASK18) << 18; MASK18 4012 src/dps8/dps8_cpu.c w0 |= opcode & MASK18; MASK18 4097 src/dps8/dps8_cpu.c putbits36_18 (& w0, 18, (word18) (IWB_IRODD & MASK18)); MASK18 2186 src/dps8/dps8_eis.c bits / 36) & MASK18; MASK18 2199 src/dps8/dps8_eis.c cpu.AR[ARn].WORDNO = (address + r / 36) & MASK18; MASK18 2368 src/dps8/dps8_eis.c int32_t r = (int32_t) (getCrAR (reg) & MASK18); MASK18 2412 src/dps8/dps8_eis.c address + bits / 36) & MASK18; MASK18 2421 src/dps8/dps8_eis.c cpu.AR[ARn].WORDNO = (- (address + r / 36)) & MASK18; MASK18 2443 src/dps8/dps8_eis.c int32_t r = (int32_t) (getCrAR (reg) & MASK18); MASK18 2494 src/dps8/dps8_eis.c (GET_AR_CHAR (ARn) - r) / 4) & MASK18; MASK18 2504 src/dps8/dps8_eis.c cpu.AR[ARn].WORDNO = (- (address + (r + 3) / 4)) & MASK18; MASK18 2783 src/dps8/dps8_eis.c r = (uint) (rcnt & MASK18); MASK18 9168 src/dps8/dps8_eis.c MASK18 470 src/dps8/dps8_fnp2_iomcmd.c data_len != MASK18) MASK18 482 src/dps8/dps8_fnp2_iomcmd.c else if (data_len == MASK18) MASK18 1728 src/dps8/dps8_fnp2_iomcmd.c return (word18) (word & MASK18); MASK18 1730 src/dps8/dps8_fnp2_iomcmd.c return (word18) ((word >> 18) & MASK18); MASK18 99 src/dps8/dps8_hw_consts.h # define WMASK MASK18 // WORDNO mask MASK18 189 src/dps8/dps8_hw_consts.h # define GETHI36(a) ((word18) (((a) >> 18) & MASK18)) MASK18 190 src/dps8/dps8_hw_consts.h # define GETLO36(a) ((word18) ((a) & MASK18)) MASK18 245 src/dps8/dps8_hw_consts.h return w & MASK18; MASK18 290 src/dps8/dps8_hw_consts.h return w & MASK18; MASK18 365 src/dps8/dps8_hw_consts.h return (w | ((word18) -1) << 15) & MASK18; MASK18 376 src/dps8/dps8_hw_consts.h return w & MASK18; MASK18 277 src/dps8/dps8_ins.c cpu.PR[n].WORDNO = (cpu.PPR.IC + 1) & MASK18; MASK18 1922 src/dps8/dps8_ins.c cpu.CY &= MASK18; MASK18 1927 src/dps8/dps8_ins.c cpu.Ypair[0] &= MASK18; MASK18 2882 src/dps8/dps8_ins.c word18 ret = (cpu.PPR.IC + 1) & MASK18; MASK18 3338 src/dps8/dps8_ins.c cpu.rQ |= (word36) (cpu.TPR.CA & MASK18) << 18; MASK18 3766 src/dps8/dps8_ins.c SETHI (cpu.CY, (cpu.PPR.IC + 1) & MASK18); MASK18 3779 src/dps8/dps8_ins.c cpu.CY = ((word36) ((cpu.PPR.IC + 2) & MASK18)) << 18; MASK18 5282 src/dps8/dps8_ins.c tmp18 &= MASK18; MASK18 5309 src/dps8/dps8_ins.c cpu.rX[n] &= MASK18; MASK18 5409 src/dps8/dps8_ins.c tmp18 &= MASK18; MASK18 5435 src/dps8/dps8_ins.c cpu.rX[n] &= MASK18; MASK18 5523 src/dps8/dps8_ins.c tmp18 &= MASK18; MASK18 5549 src/dps8/dps8_ins.c cpu.rX[n] &= MASK18; MASK18 5620 src/dps8/dps8_ins.c tmp18 &= MASK18; MASK18 5623 src/dps8/dps8_ins.c n, cpu.rX[n], (word18) (GETHI (cpu.CY) & MASK18), MASK18 5702 src/dps8/dps8_ins.c tmp18 &= MASK18; MASK18 6694 src/dps8/dps8_ins.c cpu.PR[n].WORDNO &= MASK18; MASK18 6713 src/dps8/dps8_ins.c cpu.PR[n].WORDNO &= MASK18; MASK18 8718 src/dps8/dps8_ins.c putbits36_18 (& cpu.CY, 0, cpu.AR[n].WORDNO & MASK18); MASK18 8778 src/dps8/dps8_ins.c putbits36_18 (& cpu.CY, 0, cpu.AR[n].WORDNO & MASK18); MASK18 9385 src/dps8/dps8_ins.c * result = ((word36) (cpu.TPR.CA & MASK18)) << 12; // 24:12 format MASK18 9406 src/dps8/dps8_ins.c sim_printf (" rcu to %05o:%06o PSR:IC %05o:%06o\r\n", (cpu.Yblock8[0]>>18)&MASK15, (cpu.Yblock8[4]>>18)&MASK18, cpu.PPR.PSR, cpu.PPR.IC); MASK18 1857 src/dps8/dps8_iom.c word24 addr = (((word24) PCW_PAGE_TABLE_PTR) & MASK18) << 6; MASK18 1893 src/dps8/dps8_iom.c word24 addr = (((word24) PCW_PAGE_TABLE_PTR) & MASK18) << 6; MASK18 1931 src/dps8/dps8_iom.c word24 addr = (((word24) PCW_PAGE_TABLE_PTR) & MASK18) << 6; MASK18 2023 src/dps8/dps8_iom.c if (daddr > MASK18) { // 256K overflow MASK18 2025 src/dps8/dps8_iom.c daddr &= MASK18; MASK18 2051 src/dps8/dps8_iom.c if (daddr > MASK18) { // 256K overflow MASK18 2053 src/dps8/dps8_iom.c daddr &= MASK18; MASK18 2490 src/dps8/dps8_iom.c word24 addr = p -> LPW_DCW_PTR & MASK18; MASK18 2654 src/dps8/dps8_iom.c iom_core_write (iom_unit_idx, (dcw >> 18) & MASK18, faultWord, __func__); MASK18 3000 src/dps8/dps8_iom.c p -> LPW_DCW_PTR = (p -> LPW_DCW_PTR + 2u) & MASK18; MASK18 3002 src/dps8/dps8_iom.c p -> LPW_DCW_PTR = (p -> LPW_DCW_PTR + 1u) & MASK18; MASK18 3427 src/dps8/dps8_iom.c iom_core_write (iom_unit_idx, (dcw >> 18) & MASK18, status, __func__); MASK18 2782 src/dps8/dps8_sys.c word18 prevfpOffset = (word18) ((M[fp + 17] >> 18) & MASK18); MASK18 2787 src/dps8/dps8_sys.c word18 returnOffset = (word18) ((M[fp + 21] >> 18) & MASK18); MASK18 2819 src/dps8/dps8_sys.c word18 entryOffset = (word18) ((M[fp + 23] >> 18) & MASK18); MASK18 2832 src/dps8/dps8_sys.c word18 argOffset = (word18) ((M[fp + 27] >> 18) & MASK18); MASK18 2844 src/dps8/dps8_sys.c word18 callType = (word18) (M[ap + 0] & MASK18); MASK18 2876 src/dps8/dps8_sys.c word18 argnoOffset = (word18) ((M[argnoos + 1] >> 18) & MASK18); MASK18 3474 src/dps8/dps8_sys.c MASK18 3723 src/dps8/dps8_sys.c if (segno > MASK15 || offset > MASK18) MASK18 344 src/dps8/dps8_utils.c word20 op1e = op1 & MASK18; MASK18 345 src/dps8/dps8_utils.c word20 op2e = op2 & MASK18; MASK18 365 src/dps8/dps8_utils.c res &= MASK18; MASK18 425 src/dps8/dps8_utils.c word20 op1e = op1 & MASK18; MASK18 426 src/dps8/dps8_utils.c word20 op2e = op2 & MASK18; MASK18 449 src/dps8/dps8_utils.c res &= MASK18; MASK18 802 src/dps8/dps8_utils.c op1 &= MASK18; MASK18 806 src/dps8/dps8_utils.c word18 res = ((word18) (- (word18s) op1)) & MASK18; MASK18 1009 src/dps8/dps8_utils.c int32 op1 = SIGNEXT18_32 (oP1 & MASK18); MASK18 1010 src/dps8/dps8_utils.c int32 op2 = SIGNEXT18_32 (oP2 & MASK18);