n 209 src/decNumber/decNumber.c # define QUOT10(u, n) ((((uInt)(u)>>(n))*multies[n])>>17) n 1811 src/decNumber/decNumber.c Int n; // rhs in binary n 1884 src/decNumber/decNumber.c n=decGetInt(rhs); n 1885 src/decNumber/decNumber.c if (n!=BADINT) { // it is an integer n 1887 src/decNumber/decNumber.c isoddint=(Flag)n&1; // [works even if big] n 1888 src/decNumber/decNumber.c if (n!=BIGEVEN && n!=BIGODD) // can use integer path? n 1899 src/decNumber/decNumber.c if (n==0) *res->lsu=1; // [-]Inf**0 => 1 n 1913 src/decNumber/decNumber.c if (n==0) { // 0**0 => Error n 1968 src/decNumber/decNumber.c if (n==0) { // x**0 = 1 n 1974 src/decNumber/decNumber.c if (n<0) n=-n; // use abs(n) n 2071 src/decNumber/decNumber.c n=n<<1; // move next bit to testable position n 2072 src/decNumber/decNumber.c if (n<0) { // top bit is set n 3300 src/decNumber/decNumber.c decNumber * decNumberSetBCD(decNumber *dn, const uByte *bcd, uInt n) { n 3305 src/decNumber/decNumber.c for (; ub<bcd+n; ub++, up--) *up=*ub; n 3308 src/decNumber/decNumber.c Int cut=MSUDIGITS(n); // [faster than remainder] n 3315 src/decNumber/decNumber.c dn->digits=n; // set digit count n 3493 src/decNumber/decNumber.c Int n=pre; n 3503 src/decNumber/decNumber.c if (n<dn->digits) { // more to come, after '.' n 5195 src/decNumber/decNumber.c Int n=powers[h]; // always positive n 5205 src/decNumber/decNumber.c n=n<<1; // move next bit to testable position n 5206 src/decNumber/decNumber.c if (n<0) { // top bit is set n 169 src/decNumber/decNumberLocal.h # define ROUNDUP(i, n) ((((i)+(n)-1)/n)*n) //-V1003 n 173 src/decNumber/decNumberLocal.h # define ROUNDDOWN(i, n) (((i)/n)*n) //-V1003 n 127 src/dps8/bsd_random.c bsd_initstate(unsigned int seed, char *arg_state, int n) n 140 src/dps8/bsd_random.c if (n < BREAK_0) n 145 src/dps8/bsd_random.c if (n < BREAK_1) n 151 src/dps8/bsd_random.c else if (n < BREAK_2) n 157 src/dps8/bsd_random.c else if (n < BREAK_3) n 163 src/dps8/bsd_random.c else if (n < BREAK_4) n 50 src/dps8/bsd_random.h char *bsd_initstate(unsigned int seed, char *arg_state, int n); n 398 src/dps8/dps8.h # define ru_Xn(n) (1 << (7 - (n))) n 86 src/dps8/dps8_absi.c int n = atoi (cptr); n 87 src/dps8/dps8_absi.c if (n < 1 || n > N_ABSI_UNITS_MAX) n 89 src/dps8/dps8_absi.c absi_dev.numunits = (uint32) n; n 96 src/dps8/dps8_absi.c int n = (int) ABSI_UNIT_IDX (uptr); n 97 src/dps8/dps8_absi.c if (n < 0 || n >= N_ABSI_UNITS_MAX) n 99 src/dps8/dps8_absi.c if (absi_state[n].device_name[1] != 0) n 100 src/dps8/dps8_absi.c sim_printf("name : %s", absi_state[n].device_name); n 102 src/dps8/dps8_absi.c sim_printf("name : ABSI%d", n); n 109 src/dps8/dps8_absi.c int n = (int) ABSI_UNIT_IDX (uptr); n 110 src/dps8/dps8_absi.c if (n < 0 || n >= N_ABSI_UNITS_MAX) n 114 src/dps8/dps8_absi.c strncpy (absi_state[n].device_name, cptr, MAX_DEV_NAME_LEN-1); n 115 src/dps8/dps8_absi.c absi_state[n].device_name[MAX_DEV_NAME_LEN-1] = 0; n 118 src/dps8/dps8_absi.c absi_state[n].device_name[0] = 0; n 219 src/dps8/dps8_addrmods.c word3 n = GET_ITP_PRNUM (cpu.itxPair); n 220 src/dps8/dps8_addrmods.c CPTUR (cptUsePRn + n); n 222 src/dps8/dps8_addrmods.c HDBGRegPRR (n, "ITP"); n 224 src/dps8/dps8_addrmods.c cpu.TPR.TSR = cpu.PR[n].SNR; n 225 src/dps8/dps8_addrmods.c cpu.TPR.TRR = max3 (cpu.PR[n].RNR, cpu.RSDWH_R1, cpu.TPR.TRR); n 227 src/dps8/dps8_addrmods.c cpu.TPR.CA = cpu.PAR[n].WORDNO + GET_ITP_WORDNO (cpu.itxPair); n 234 src/dps8/dps8_addrmods.c cpu.cu.TSN_PRNO[0] = n; n 368 src/dps8/dps8_addrmods.c word3 n = GET_PRN(IWB_IRODD); // get PRn n 370 src/dps8/dps8_addrmods.c HDBGRegPRR (n, "b29"); n 373 src/dps8/dps8_addrmods.c cpu.TPR.CA = (cpu.PAR[n].WORDNO + SIGNEXT15_18 (offset)) n 1208 src/dps8/dps8_append.c word3 n = 0; // PRn to be saved to TSN_PRNO n 2006 src/dps8/dps8_append.c n = (i->opcode & 3); n 2008 src/dps8/dps8_append.c n = (i->opcode & 3) + 4; n 2014 src/dps8/dps8_append.c cpu.PR[n].RNR = cpu.PPR.PRR; n 2018 src/dps8/dps8_append.c cpu.PR[n].SNR = cpu.PPR.PSR; n 2019 src/dps8/dps8_append.c cpu.PR[n].WORDNO = (cpu.PPR.IC + 1) & MASK18; n 2020 src/dps8/dps8_append.c SET_PR_BITNO (n, 0); n 2022 src/dps8/dps8_append.c HDBGRegPRW (n, "app tspn"); n 2149 src/dps8/dps8_append.c n = GET_ITP_PRNUM (data); n 2151 src/dps8/dps8_append.c cpu.TPR.TRR, cpu.RSDWH_R1, cpu.PR[n].RNR); n 2155 src/dps8/dps8_append.c cpu.TPR.TRR = max3 (cpu.PR[n].RNR, cpu.TPR.TRR, cpu.RSDWH_R1); n 1324 src/dps8/dps8_cable.c #define all(i,n) \ n 1325 src/dps8/dps8_cable.c for (uint i = 0; i < n; i ++) n 1667 src/dps8/dps8_console.c int n = atoi (cptr); n 1668 src/dps8/dps8_console.c if (n < 1 || n > N_OPC_UNITS_MAX) n 1670 src/dps8/dps8_console.c opc_dev.numunits = (uint32) n; n 1771 src/dps8/dps8_console.c int n = (int) OPC_UNIT_IDX (uptr); n 1772 src/dps8/dps8_console.c if (n < 0 || n >= N_OPC_UNITS_MAX) n 1774 src/dps8/dps8_console.c sim_printf("name : OPC%d", n); n 1781 src/dps8/dps8_console.c int n = (int) OPC_UNIT_IDX (uptr); n 1782 src/dps8/dps8_console.c if (n < 0 || n >= N_OPC_UNITS_MAX) n 1786 src/dps8/dps8_console.c strncpy (console_state[n].device_name, cptr, MAX_DEV_NAME_LEN-1); n 1787 src/dps8/dps8_console.c console_state[n].device_name[MAX_DEV_NAME_LEN-1] = 0; n 1790 src/dps8/dps8_console.c console_state[n].device_name[0] = 0; n 680 src/dps8/dps8_cpu.c int n = atoi (cptr); n 681 src/dps8/dps8_cpu.c if (n < 1 || n > N_CPU_UNITS_MAX) n 683 src/dps8/dps8_cpu.c cpu_dev.numunits = (uint32) n; n 699 src/dps8/dps8_cpu.c int n = atoi (cptr); n 700 src/dps8/dps8_cpu.c if (n < 1 || n > 1000000) n 702 src/dps8/dps8_cpu.c kips = (uint) n; n 742 src/dps8/dps8_cpu.c long n, s, o, t; n 745 src/dps8/dps8_cpu.c n = strtol (cptr, & end, 0); n 748 src/dps8/dps8_cpu.c if (n < 0 || n >= N_STALL_POINTS) n 769 src/dps8/dps8_cpu.c stall_points[n].segno = (word15) s; n 770 src/dps8/dps8_cpu.c stall_points[n].offset = (word18) o; n 771 src/dps8/dps8_cpu.c stall_points[n].time = (unsigned int) t; n 775 src/dps8/dps8_cpu.c if (stall_points[n].segno && stall_points[n].offset) n 3349 src/dps8/dps8_cpu.c long int n = strtol (buf, & end, 0); n 3350 src/dps8/dps8_cpu.c if (* end || n < 0 || n >= MEMSIZE) n 3352 src/dps8/dps8_cpu.c sim_warn ("Invalid argument to watch? %ld\n", (long) n); n 3355 src/dps8/dps8_cpu.c watch_bits [n] = arg != 0; n 1953 src/dps8/dps8_cpu.h #define GET_PR_BITNO(n) (cpu.PAR[n].PR_BITNO) n 1954 src/dps8/dps8_cpu.h #define GET_AR_BITNO(n) (cpu.PAR[n].AR_BITNO) n 1955 src/dps8/dps8_cpu.h #define GET_AR_CHAR(n) (cpu.PAR[n].AR_CHAR) n 1956 src/dps8/dps8_cpu.h static inline void SET_PR_BITNO (uint n, word6 b) n 1958 src/dps8/dps8_cpu.h cpu.PAR[n].PR_BITNO = b; n 1959 src/dps8/dps8_cpu.h cpu.PAR[n].AR_BITNO = (b % 9) & MASK4; n 1960 src/dps8/dps8_cpu.h cpu.PAR[n].AR_CHAR = (b / 9) & MASK2; n 1962 src/dps8/dps8_cpu.h static inline void SET_AR_CHAR_BITNO (uint n, word2 c, word4 b) n 1964 src/dps8/dps8_cpu.h cpu.PAR[n].PR_BITNO = c * 9 + b; n 1965 src/dps8/dps8_cpu.h cpu.PAR[n].AR_BITNO = b & MASK4; n 1966 src/dps8/dps8_cpu.h cpu.PAR[n].AR_CHAR = c & MASK2; n 2337 src/dps8/dps8_cpu.h static inline void core_readN (word24 addr, word36 * data, uint n, n 2340 src/dps8/dps8_cpu.h for (uint i = 0; i < n; i ++) n 2347 src/dps8/dps8_cpu.h static inline void core_writeN (word24 addr, word36 * data, uint n, n 2350 src/dps8/dps8_cpu.h for (uint i = 0; i < n; i ++) n 1262 src/dps8/dps8_crdpun.c int n = atoi (cptr); n 1263 src/dps8/dps8_crdpun.c if (n < 1 || n > N_PUN_UNITS_MAX) n 1265 src/dps8/dps8_crdpun.c pun_dev . numunits = (uint32) n; n 1272 src/dps8/dps8_crdpun.c long n = PUN_UNIT_NUM (uptr); n 1273 src/dps8/dps8_crdpun.c if (n < 0 || n >= N_PUN_UNITS_MAX) n 1275 src/dps8/dps8_crdpun.c sim_printf("name : %s", pun_state [n] . device_name); n 1282 src/dps8/dps8_crdpun.c long n = PUN_UNIT_NUM (uptr); n 1283 src/dps8/dps8_crdpun.c if (n < 0 || n >= N_PUN_UNITS_MAX) n 1287 src/dps8/dps8_crdpun.c strncpy (pun_state [n] . device_name, cptr, MAX_DEV_NAME_LEN - 1); n 1288 src/dps8/dps8_crdpun.c pun_state [n] . device_name [MAX_DEV_NAME_LEN - 1] = 0; n 1291 src/dps8/dps8_crdpun.c pun_state [n] . device_name [0] = 0; n 414 src/dps8/dps8_crdrdr.c uint n = 0; n 415 src/dps8/dps8_crdrdr.c buffer [n] = 0; n 421 src/dps8/dps8_crdrdr.c return n == 0; n 424 src/dps8/dps8_crdrdr.c buffer [n ++] = ch; n 425 src/dps8/dps8_crdrdr.c buffer [n] = 0; n 426 src/dps8/dps8_crdrdr.c if (n > 79) n 733 src/dps8/dps8_crdrdr.c n 1018 src/dps8/dps8_crdrdr.c int n = atoi (cptr); n 1019 src/dps8/dps8_crdrdr.c if (n < 1 || n > N_RDR_UNITS_MAX) n 1021 src/dps8/dps8_crdrdr.c rdr_dev . numunits = (uint32) n; n 1028 src/dps8/dps8_crdrdr.c long n = RDR_UNIT_NUM (uptr); n 1029 src/dps8/dps8_crdrdr.c if (n < 0 || n >= N_RDR_UNITS_MAX) n 1031 src/dps8/dps8_crdrdr.c sim_printf("name : %s", rdr_state [n] . device_name); n 1038 src/dps8/dps8_crdrdr.c long n = RDR_UNIT_NUM (uptr); n 1039 src/dps8/dps8_crdrdr.c if (n < 0 || n >= N_RDR_UNITS_MAX) n 1043 src/dps8/dps8_crdrdr.c strncpy (rdr_state [n] . device_name, cptr, MAX_DEV_NAME_LEN - 1); n 1044 src/dps8/dps8_crdrdr.c rdr_state [n] . device_name [MAX_DEV_NAME_LEN - 1] = 0; n 1047 src/dps8/dps8_crdrdr.c rdr_state [n] . device_name [0] = 0; n 302 src/dps8/dps8_decimal.c n 311 src/dps8/dps8_decimal.c n 319 src/dps8/dps8_decimal.c n 343 src/dps8/dps8_decimal.c n 353 src/dps8/dps8_decimal.c n 361 src/dps8/dps8_decimal.c n 386 src/dps8/dps8_decimal.c n 403 src/dps8/dps8_decimal.c n 176 src/dps8/dps8_dia.c int n = atoi (cptr); n 177 src/dps8/dps8_dia.c if (n < 1 || n > N_DIA_UNITS_MAX) n 179 src/dps8/dps8_dia.c dia_dev.numunits = (uint32) n; n 353 src/dps8/dps8_disk.c int n = atoi (cptr); n 354 src/dps8/dps8_disk.c if (n < 1 || n > N_DSK_UNITS_MAX) n 356 src/dps8/dps8_disk.c dsk_dev . numunits = (uint32) n; n 413 src/dps8/dps8_disk.c int n = (int) DSK_UNIT_IDX (uptr); n 414 src/dps8/dps8_disk.c if (n < 0 || n >= N_DSK_UNITS_MAX) n 416 src/dps8/dps8_disk.c sim_printf("name : %s", dsk_states[n].device_name); n 423 src/dps8/dps8_disk.c int n = (int) DSK_UNIT_IDX (uptr); n 424 src/dps8/dps8_disk.c if (n < 0 || n >= N_DSK_UNITS_MAX) n 428 src/dps8/dps8_disk.c strncpy (dsk_states[n].device_name, cptr, MAX_DEV_NAME_LEN-1); n 429 src/dps8/dps8_disk.c dsk_states[n].device_name[MAX_DEV_NAME_LEN-1] = 0; n 432 src/dps8/dps8_disk.c dsk_states[n].device_name[0] = 0; n 1671 src/dps8/dps8_disk.c int n = atoi (cptr); n 1672 src/dps8/dps8_disk.c if (n < 0 || n > N_DSK_UNITS_MAX) n 1674 src/dps8/dps8_disk.c ipc_dev.numunits = (uint32) n; n 1681 src/dps8/dps8_disk.c int n = (int) IPC_UNIT_IDX (uptr); n 1682 src/dps8/dps8_disk.c if (n < 0 || n >= N_IPC_UNITS_MAX) n 1684 src/dps8/dps8_disk.c if (ipc_states[n].device_name[0] != 0) n 1685 src/dps8/dps8_disk.c sim_printf("name : %s", ipc_states[n].device_name); n 1694 src/dps8/dps8_disk.c int n = (int) IPC_UNIT_IDX (uptr); n 1695 src/dps8/dps8_disk.c if (n < 0 || n >= N_IPC_UNITS_MAX) n 1699 src/dps8/dps8_disk.c strncpy (ipc_states[n].device_name, cptr, MAX_DEV_NAME_LEN-1); n 1700 src/dps8/dps8_disk.c ipc_states[n].device_name[MAX_DEV_NAME_LEN-1] = 0; n 1703 src/dps8/dps8_disk.c ipc_states[n].device_name[0] = 0; n 1813 src/dps8/dps8_disk.c int n = atoi (cptr); n 1814 src/dps8/dps8_disk.c if (n < 0 || n > N_DSK_UNITS_MAX) n 1816 src/dps8/dps8_disk.c msp_dev.numunits = (uint32) n; n 1823 src/dps8/dps8_disk.c int n = (int) MSP_UNIT_IDX (uptr); n 1824 src/dps8/dps8_disk.c if (n < 0 || n >= N_MSP_UNITS_MAX) n 1826 src/dps8/dps8_disk.c if (msp_states[n].device_name[0] != 0) n 1827 src/dps8/dps8_disk.c sim_printf("name : %s", msp_states[n].device_name); n 1836 src/dps8/dps8_disk.c int n = (int) MSP_UNIT_IDX (uptr); n 1837 src/dps8/dps8_disk.c if (n < 0 || n >= N_MSP_UNITS_MAX) n 1841 src/dps8/dps8_disk.c strncpy (msp_states[n].device_name, cptr, MAX_DEV_NAME_LEN-1); n 1842 src/dps8/dps8_disk.c msp_states[n].device_name[MAX_DEV_NAME_LEN-1] = 0; n 1845 src/dps8/dps8_disk.c msp_states[n].device_name[0] = 0; n 390 src/dps8/dps8_eis.c static word18 getMFReg18 (uint n, bool allowDU, bool allowNIC, fault_ipr_subtype_ *mod_fault) n 392 src/dps8/dps8_eis.c switch (n) n 477 src/dps8/dps8_eis.c return cpu.rX [n - 8]; n 479 src/dps8/dps8_eis.c sim_printf ("getMFReg18(): How'd we get here? n=%d\n", n); n 483 src/dps8/dps8_eis.c static word36 getMFReg36 (uint n, bool allowDU, bool allowNIC, fault_ipr_subtype_ *mod_fault) n 485 src/dps8/dps8_eis.c switch (n) n 552 src/dps8/dps8_eis.c return cpu.rX [n - 8]; n 554 src/dps8/dps8_eis.c sim_printf ("getMFReg36(): How'd we get here? n=%d\n", n); n 689 src/dps8/dps8_eis.c static void EISWriteIdx (EISaddr *p, uint n, word36 data, bool flush) n 694 src/dps8/dps8_eis.c sim_debug (DBG_TRACEEXT, & cpu_dev, "EISWriteIdx addr %06o n %u\n", cpu.du.Dk_PTR_W[eisaddr_idx], n); n 695 src/dps8/dps8_eis.c word18 addressN = (cpu.du.Dk_PTR_W[eisaddr_idx] + n) & AMASK; n 697 src/dps8/dps8_eis.c sim_debug (DBG_TRACEEXT, & cpu_dev, "EISWriteIdx addr %06o n %u\n", p->address, n); n 698 src/dps8/dps8_eis.c word18 addressN = p -> address + n; n 728 src/dps8/dps8_eis.c static word36 EISReadIdx (EISaddr * p, uint n) n 734 src/dps8/dps8_eis.c sim_debug (DBG_TRACEEXT, & cpu_dev, "EISReadIdx addr %06o n %u\n", cpu.du.Dk_PTR_W[eisaddr_idx], n); n 735 src/dps8/dps8_eis.c word18 addressN = (cpu.du.Dk_PTR_W[eisaddr_idx] + n) & AMASK; n 738 src/dps8/dps8_eis.c sim_debug (DBG_TRACEEXT, & cpu_dev, "EISReadIdx %ld addr %06o n %u\n", eisaddr_idx, p->address, n); n 739 src/dps8/dps8_eis.c word18 addressN = p -> address + n; n 781 src/dps8/dps8_eis.c n 783 src/dps8/dps8_eis.c n 788 src/dps8/dps8_eis.c static void EISReadPage (EISaddr * p, uint n, word36 * data) n 793 src/dps8/dps8_eis.c word18 addressN = (cpu.du.Dk_PTR_W[eisaddr_idx] + n) & AMASK; n 795 src/dps8/dps8_eis.c word18 addressN = p -> address + n; n 850 src/dps8/dps8_eis.c static void EISWritePage (EISaddr * p, uint n, word36 * data) n 855 src/dps8/dps8_eis.c word18 addressN = (cpu.du.Dk_PTR_W[eisaddr_idx] + n) & AMASK; n 857 src/dps8/dps8_eis.c word18 addressN = p -> address + n; n 1262 src/dps8/dps8_eis.c word3 n = (word3) getbits18 (address, 0, 3); n 1263 src/dps8/dps8_eis.c CPTUR (cptUsePRn + n); n 1265 src/dps8/dps8_eis.c address = (cpu.AR [n].WORDNO + SIGNEXT15_18 (offset)) & AMASK; n 1273 src/dps8/dps8_eis.c cpu.cu.TSN_PRNO[k-1] = n; n 1275 src/dps8/dps8_eis.c e -> addr [k - 1].SNR = cpu.PR [n].SNR; n 1276 src/dps8/dps8_eis.c e -> addr [k - 1].RNR = max3 (cpu.PR [n].RNR, n 1281 src/dps8/dps8_eis.c sim_debug (DBG_TRACEEXT, & cpu_dev, "AR n %u k %u\n", n, k - 1); n 1415 src/dps8/dps8_eis.c word3 n = (word3) getbits18 (address, 0, 3); n 1416 src/dps8/dps8_eis.c CPTUR (cptUsePRn + n); n 1418 src/dps8/dps8_eis.c address = (cpu.AR [n].WORDNO + offset) & AMASK; n 1420 src/dps8/dps8_eis.c ARn_CHAR = GET_AR_CHAR (n); // AR[n].CHAR; n 1421 src/dps8/dps8_eis.c ARn_BITNO = GET_AR_BITNO (n); // AR[n].BITNO; n 1423 src/dps8/dps8_eis.c cpu.cu.TSN_PRNO[k-1] = n; n 1425 src/dps8/dps8_eis.c e -> addr [k - 1].SNR = cpu.PR [n].SNR; n 1426 src/dps8/dps8_eis.c e -> addr [k - 1].RNR = max3 (cpu.PR [n].RNR, cpu.TPR.TRR, cpu.PPR.PRR); n 1429 src/dps8/dps8_eis.c sim_debug (DBG_TRACEEXT, & cpu_dev, "AR n %u k %u\n", n, k - 1); n 1620 src/dps8/dps8_eis.c word3 n = GET_ARN (opDesc); n 1621 src/dps8/dps8_eis.c CPTUR (cptUsePRn + n); n 1623 src/dps8/dps8_eis.c y = (cpu.AR [n].WORDNO + SIGNEXT15_18 (offset)) & AMASK; n 1625 src/dps8/dps8_eis.c ARn_CHAR = GET_AR_CHAR (n); // AR[n].CHAR; n 1626 src/dps8/dps8_eis.c ARn_BITNO = GET_AR_BITNO (n); // AR[n].BITNO; n 1628 src/dps8/dps8_eis.c cpu.cu.TSN_PRNO[k-1] = n; n 1630 src/dps8/dps8_eis.c e -> addr [k - 1].SNR = cpu.PR[n].SNR; n 1631 src/dps8/dps8_eis.c e -> addr [k - 1].RNR = max3 (cpu.PR [n].RNR, cpu.TPR.TRR, cpu.PPR.PRR); n 1672 src/dps8/dps8_eis.c word3 n = (word3) getbits18 (address, 0, 3); n 1673 src/dps8/dps8_eis.c CPTUR (cptUsePRn + n); n 1675 src/dps8/dps8_eis.c address = (cpu.AR[n].WORDNO + SIGNEXT15_18(offset)) & AMASK; n 1677 src/dps8/dps8_eis.c ARn_CHAR = GET_AR_CHAR (n); // AR[n].CHAR; n 1678 src/dps8/dps8_eis.c ARn_BITNO = GET_AR_BITNO (n); // AR[n].BITNO; n 1680 src/dps8/dps8_eis.c cpu.cu.TSN_PRNO[k-1] = n; n 1682 src/dps8/dps8_eis.c e->addr[k-1].SNR = cpu.PR[n].SNR; n 1683 src/dps8/dps8_eis.c e->addr[k-1].RNR = max3(cpu.PR[n].RNR, cpu.TPR.TRR, cpu.PPR.PRR); n 1853 src/dps8/dps8_eis.c word3 n = (word3) getbits18 (address, 0, 3); n 1854 src/dps8/dps8_eis.c CPTUR (cptUsePRn + n); n 1856 src/dps8/dps8_eis.c address = (cpu.AR[n].WORDNO + SIGNEXT15_18(offset)) & AMASK; n 1858 src/dps8/dps8_eis.c sim_debug (DBG_TRACEEXT, & cpu_dev, "bitstring k %d AR%d\n", k, n); n 1860 src/dps8/dps8_eis.c ARn_CHAR = GET_AR_CHAR (n); // AR[n].CHAR; n 1861 src/dps8/dps8_eis.c ARn_BITNO = GET_AR_BITNO (n); // AR[n].BITNO; n 1862 src/dps8/dps8_eis.c cpu.cu.TSN_PRNO[k-1] = n; n 1864 src/dps8/dps8_eis.c e->addr[k-1].SNR = cpu.PR[n].SNR; n 1865 src/dps8/dps8_eis.c e->addr[k-1].RNR = max3(cpu.PR[n].RNR, cpu.TPR.TRR, cpu.PPR.PRR); n 4557 src/dps8/dps8_eis.c uint n = cpu.du.CHTALLY / 4; n 4558 src/dps8/dps8_eis.c word36 w = EISReadIdx (& e -> ADDR1, n); n 4559 src/dps8/dps8_eis.c EISWriteIdx (& e -> ADDR2, n, w, true); n 4588 src/dps8/dps8_eis.c uint n = cpu.du.CHTALLY / 4; n 4589 src/dps8/dps8_eis.c EISWriteIdx (& e -> ADDR2, n, w, true); n 4853 src/dps8/dps8_eis.c uint n = (limit - cpu.du.CHTALLY - 1) / 4; n 4854 src/dps8/dps8_eis.c word36 w = EISReadIdx (& e -> ADDR1, n); n 4855 src/dps8/dps8_eis.c EISWriteIdx (& e -> ADDR2, n, w, true); n 4888 src/dps8/dps8_eis.c uint n = (limit - cpu.du.CHTALLY - 1) / 4; n 4889 src/dps8/dps8_eis.c EISWriteIdx (& e -> ADDR2, n, w, true); n 5040 src/dps8/dps8_eis.c for(int n = 0 ; n < N ; n += 1) n 5043 src/dps8/dps8_eis.c sim_debug (DBG_TRACEEXT, & cpu_dev, "src: %d: %o\n", n, c); n 5073 src/dps8/dps8_eis.c if (n == 0) // first had better be a sign .... n 5088 src/dps8/dps8_eis.c else if (TN == CTN9 && n == N-1) // the 9-bit exponent (of which only 8-bits are used) n 5093 src/dps8/dps8_eis.c else if (TN == CTN4 && n == N-2) // the 1st 4-chars of the 8-bit exponent n 5099 src/dps8/dps8_eis.c else if (TN == CTN4 && n == N-1) // the 2nd 4-chars of the 8-bit exponent n 5122 src/dps8/dps8_eis.c if (n == 0) // first had better be a sign .... n 5142 src/dps8/dps8_eis.c if (n == N-1) // last had better be a sign .... n 5196 src/dps8/dps8_eis.c for (uint n = 0 ; n < N ; n ++) n 5198 src/dps8/dps8_eis.c word9 c = EISget469 (k, n); n 5207 src/dps8/dps8_eis.c for (uint n = 0 ; n < (uint) e -> dstTally; n ++) n 5209 src/dps8/dps8_eis.c word9 c49 = e -> outBuffer [n]; n 5210 src/dps8/dps8_eis.c EISput469 (k, n, c49); n 5431 src/dps8/dps8_eis.c for(int n = 0 ; n < e->mopIF ; n += 1) n 5669 src/dps8/dps8_eis.c for(int n = 0 ; n < e->mopIF ; n += 1) n 5895 src/dps8/dps8_eis.c for(int n = 0 ; n < e->mopIF ; n += 1) n 5897 src/dps8/dps8_eis.c sim_debug (DBG_TRACEEXT, & cpu_dev, "MFLC n %d, srcTally %d, dstTally %d\n", n, e->srcTally, e->dstTally); n 5997 src/dps8/dps8_eis.c for(int n = 0 ; n < e->mopIF; n += 1) n 6005 src/dps8/dps8_eis.c sim_debug (DBG_TRACEEXT, & cpu_dev, "MFLS n %d c %o\n", n, c); n 6100 src/dps8/dps8_eis.c for(int n = 0 ; n < e->mopIF ; n += 1) n 6143 src/dps8/dps8_eis.c for(int n = 0 ; n < e->mopIF ; n += 1) n 6145 src/dps8/dps8_eis.c sim_debug (DBG_TRACEEXT, & cpu_dev, "MVC n %d srcTally %d dstTally %d\n", n, e->srcTally, e->dstTally); n 6203 src/dps8/dps8_eis.c for(int n = 0 ; n < e->mopIF ; n += 1) n 6261 src/dps8/dps8_eis.c for(int n = 0 ; n < e->mopIF ; n += 1) n 6327 src/dps8/dps8_eis.c for(int n = 0 ; n < e->mopIF ; n += 1) n 6973 src/dps8/dps8_eis.c for(int n = 0 ; n < e -> srcTally ; n ++) n 6974 src/dps8/dps8_eis.c sum += e -> inBuffer [n]; n 9260 src/dps8/dps8_eis.c static void load9x(int n, EISaddr *addr, int pos) n 9275 src/dps8/dps8_eis.c int m = n; n 9305 src/dps8/dps8_eis.c e->x = signExt9(x, n); // form proper 2's-complement integer n 9384 src/dps8/dps8_eis.c n 9386 src/dps8/dps8_eis.c n 9723 src/dps8/dps8_eis.c n 9747 src/dps8/dps8_eis.c n 9750 src/dps8/dps8_eis.c n 9755 src/dps8/dps8_eis.c n 9777 src/dps8/dps8_eis.c n 9798 src/dps8/dps8_eis.c n 9819 src/dps8/dps8_eis.c n 9891 src/dps8/dps8_eis.c n 12246 src/dps8/dps8_eis.c n 12360 src/dps8/dps8_eis.c n 1770 src/dps8/dps8_fnp2.c int n = atoi (cptr); n 1771 src/dps8/dps8_fnp2.c if (n < 1 || n > N_FNP_UNITS_MAX) n 1773 src/dps8/dps8_fnp2.c fnp_dev . numunits = (uint32) n; n 1781 src/dps8/dps8_fnp2.c long n = FNP_UNIT_IDX (uptr); n 1782 src/dps8/dps8_fnp2.c if (n < 0 || n >= N_FNP_UNITS_MAX) n 1784 src/dps8/dps8_fnp2.c sim_printf(" FNP IPC name: %s", fnpData.fnpUnitData [n] . ipcName); n 1791 src/dps8/dps8_fnp2.c long n = FNP_UNIT_IDX (uptr); n 1792 src/dps8/dps8_fnp2.c if (n < 0 || n >= N_FNP_UNITS_MAX) n 1796 src/dps8/dps8_fnp2.c strncpy (fnpData.fnpUnitData [n] . ipcName, cptr, MAX_DEV_NAME_LEN - 1); n 1797 src/dps8/dps8_fnp2.c fnpData.fnpUnitData [n] . ipcName [MAX_DEV_NAME_LEN - 1] = 0; n 1800 src/dps8/dps8_fnp2.c fnpData.fnpUnitData [n] . ipcName [0] = 0; n 2196 src/dps8/dps8_fnp2.c int n = (int) FNP_UNIT_IDX (uptr); n 2197 src/dps8/dps8_fnp2.c if (n < 0 || n >= N_FNP_UNITS_MAX) n 2199 src/dps8/dps8_fnp2.c if (fnpData.fnpUnitData[n].device_name[0] != 0) n 2200 src/dps8/dps8_fnp2.c sim_printf(" name: %s", fnpData.fnpUnitData[n].device_name); n 2209 src/dps8/dps8_fnp2.c int n = (int) FNP_UNIT_IDX (uptr); n 2210 src/dps8/dps8_fnp2.c if (n < 0 || n >= N_FNP_UNITS_MAX) n 2214 src/dps8/dps8_fnp2.c strncpy (fnpData.fnpUnitData[n].device_name, cptr, MAX_DEV_NAME_LEN-1); n 2215 src/dps8/dps8_fnp2.c fnpData.fnpUnitData[n].device_name[MAX_DEV_NAME_LEN-1] = 0; n 2218 src/dps8/dps8_fnp2.c fnpData.fnpUnitData[n].device_name[0] = 0; n 2299 src/dps8/dps8_fnp2.c n 2300 src/dps8/dps8_fnp2.c n 2302 src/dps8/dps8_fnp2.c n 2381 src/dps8/dps8_fnp2.c int n = atoi (buf); n 2382 src/dps8/dps8_fnp2.c if (n < 1 || n > 65535) n 2384 src/dps8/dps8_fnp2.c fnpData.telnet_port = n; n 2387 src/dps8/dps8_fnp2.c sim_printf ("[FNP emulation: TELNET server port set to %ld]\n", (long) n); n 2433 src/dps8/dps8_fnp2.c int n = atoi (buf); n 2434 src/dps8/dps8_fnp2.c if (n < 1 || n > 65535) n 2436 src/dps8/dps8_fnp2.c fnpData.telnet3270_port = n; n 2439 src/dps8/dps8_fnp2.c sim_printf ("[FNP emulation: TN3270 server port set to %ld]\n", (long) n); n 60 src/dps8/dps8_fnp2_iomcmd.c static inline void fnp_core_read_n (word24 addr, word36 *data, uint n, UNUSED const char * ctx) n 65 src/dps8/dps8_fnp2_iomcmd.c for (uint i = 0; i < n; i ++) n 76 src/dps8/dps8_fnp2_iomcmd.c const int n = 1; n 77 src/dps8/dps8_fnp2_iomcmd.c int shift = 36 - (int) p - (int) n; n 82 src/dps8/dps8_fnp2_iomcmd.c word36 mask = ~ (~0U<<n); // n low bits on n 262 src/dps8/dps8_ins.c word3 n; n 264 src/dps8/dps8_ins.c n = (cpu.currentInstruction.opcode & 3); n 266 src/dps8/dps8_ins.c n = (cpu.currentInstruction.opcode & 3) + 4; n 272 src/dps8/dps8_ins.c cpu.PR[n].RNR = cpu.PPR.PRR; n 276 src/dps8/dps8_ins.c cpu.PR[n].SNR = cpu.PPR.PSR; n 277 src/dps8/dps8_ins.c cpu.PR[n].WORDNO = (cpu.PPR.IC + 1) & MASK18; n 278 src/dps8/dps8_ins.c SET_PR_BITNO (n, 0); n 280 src/dps8/dps8_ins.c HDBGRegPRW (n, "read_tra_op tsp"); n 1814 src/dps8/dps8_ins.c for (uint n = 0; n < ndes; n += 1) { n 1815 src/dps8/dps8_ins.c CPT (cpt2U, 29 + n); // EIS operand fetch (29, 30, 31) n 1828 src/dps8/dps8_ins.c Read (cpu.PPR.IC + 1 + n, & cpu.currentEISinstruction.op[n], INSTRUCTION_FETCH); n 1851 src/dps8/dps8_ins.c word3 n = GET_PRN(IWB_IRODD); // get PRn n 1853 src/dps8/dps8_ins.c CPTUR (cptUsePRn + n); n 1855 src/dps8/dps8_ins.c sim_debug (DBG_APPENDING, &cpu_dev, "doPtrReg: PR[%o] SNR=%05o RNR=%o WORDNO=%06o " "BITNO=%02o\n", n, cpu.PAR[n].SNR, cpu.PAR[n].RNR, cpu.PAR[n].WORDNO, GET_PR_BITNO (n)); n 1862 src/dps8/dps8_ins.c cpu.TPR.TBR = GET_PR_BITNO (n); n 1864 src/dps8/dps8_ins.c cpu.TPR.TSR = cpu.PAR[n].SNR; n 1866 src/dps8/dps8_ins.c cpu.TPR.TRR = max (cpu.PAR[n].RNR, cpu.PPR.PRR); n 1868 src/dps8/dps8_ins.c cpu.TPR.TRR = max3 (cpu.PAR[n].RNR, cpu.TPR.TRR, cpu.PPR.PRR); n 1870 src/dps8/dps8_ins.c sim_debug (DBG_APPENDING, &cpu_dev, "doPtrReg: n=%o offset=%05o TPR.CA=%06o " "TPR.TBR=%o TPR.TSR=%05o TPR.TRR=%o\n", n, offset, cpu.TPR.CA, cpu.TPR.TBR, cpu.TPR.TSR, cpu.TPR.TRR); n 2208 src/dps8/dps8_ins.c for (int n = 0 ; n < 8 ; n++) { n 2209 src/dps8/dps8_ins.c sim_debug (DBG_REGDUMPPR, &cpu_dev, "PR%d/%s: SNR=%05o RNR=%o WORDNO=%06o BITNO:%02o ARCHAR:%o ARBITNO:%02o\n", n, PRalias[n], cpu.PR[n].SNR, cpu.PR[n].RNR, cpu.PR[n].WORDNO, GET_PR_BITNO (n), GET_AR_CHAR (n), GET_AR_BITNO (n)); n 2293 src/dps8/dps8_ins.c #define x0(n) (n) n 2294 src/dps8/dps8_ins.c #define x1(n) (n|01000) n 2608 src/dps8/dps8_ins.c uint n = ((opcode10 & 020) >> 2) | (opcode10 & 03); n 2609 src/dps8/dps8_ins.c CPTUR (cptUsePRn + n); n 2610 src/dps8/dps8_ins.c cpu.PR[n].RNR = cpu.TPR.TRR; n 2611 src/dps8/dps8_ins.c cpu.PR[n].SNR = cpu.TPR.TSR; n 2612 src/dps8/dps8_ins.c cpu.PR[n].WORDNO = cpu.TPR.CA; n 2613 src/dps8/dps8_ins.c SET_PR_BITNO (n, cpu.TPR.TBR); n 2615 src/dps8/dps8_ins.c HDBGRegPRW (n, "epp"); n 2649 src/dps8/dps8_ins.c uint n = ((opcode10 & 0400) >> 6) | (opcode10 & 03); n 2650 src/dps8/dps8_ins.c CPTUR (cptUsePRn + n); n 2652 src/dps8/dps8_ins.c HDBGRegPRR (n, "spri"); n 2655 src/dps8/dps8_ins.c cpu.Ypair[0] |= ((word36) cpu.PR[n].SNR) << 18; n 2656 src/dps8/dps8_ins.c cpu.Ypair[0] |= ((word36) cpu.PR[n].RNR) << 15; n 2658 src/dps8/dps8_ins.c cpu.Ypair[1] = (word36) cpu.PR[n].WORDNO << 18; n 2659 src/dps8/dps8_ins.c cpu.Ypair[1] |= (word36) GET_PR_BITNO (n) << 9; n 2786 src/dps8/dps8_ins.c uint32 n = opcode10 & 07; // get n n 2787 src/dps8/dps8_ins.c CPTUR (cptUsePRn + n); n 2788 src/dps8/dps8_ins.c cpu.PR[n].RNR = cpu.TPR.TRR; n 2797 src/dps8/dps8_ins.c SET_PR_BITNO (n, bitno); n 2828 src/dps8/dps8_ins.c cpu.PR[n].SNR = 077777; n 2830 src/dps8/dps8_ins.c cpu.PR[n].SNR = oSNR; // unsigned word will 0-extend. n 2832 src/dps8/dps8_ins.c cpu.PR[n].WORDNO = GETLO (cpu.CY); n 2837 src/dps8/dps8_ins.c n, cpu.CY, cpu.PR[n].RNR, GET_PR_BITNO (n), n 2838 src/dps8/dps8_ins.c cpu.PR[n].SNR, cpu.PR[n].WORDNO); n 2840 src/dps8/dps8_ins.c HDBGRegPRW (n, "lprp"); n 2855 src/dps8/dps8_ins.c uint32 n = opcode10 & 07; // get n n 2856 src/dps8/dps8_ins.c cpu.rX[n] = cpu.TPR.CA; n 2858 src/dps8/dps8_ins.c HDBGRegXW (n, "eaxn"); n 2920 src/dps8/dps8_ins.c uint n = ((opcode10 & 020) >> 2) | (opcode10 & 03); n 2921 src/dps8/dps8_ins.c CPTUR (cptUsePRn + n); n 2922 src/dps8/dps8_ins.c cpu.PR[n].RNR = cpu.TPR.TRR; n 2923 src/dps8/dps8_ins.c cpu.PR[n].SNR = cpu.TPR.TSR; n 2924 src/dps8/dps8_ins.c cpu.PR[n].WORDNO = 0; n 2925 src/dps8/dps8_ins.c SET_PR_BITNO (n, 0); n 2927 src/dps8/dps8_ins.c HDBGRegPRW (n, "epbp"); n 3001 src/dps8/dps8_ins.c uint32 n = opcode10 & 07; // get n n 3002 src/dps8/dps8_ins.c cpu.rX[n] = GETLO (cpu.CY); n 3004 src/dps8/dps8_ins.c HDBGRegXW (n, "lxln"); n 3006 src/dps8/dps8_ins.c SC_I_ZERO (cpu.rX[n] == 0); n 3007 src/dps8/dps8_ins.c SC_I_NEG (cpu.rX[n] & SIGN18); n 3034 src/dps8/dps8_ins.c uint32 n; n 3036 src/dps8/dps8_ins.c n = (opcode10 & 3); n 3038 src/dps8/dps8_ins.c n = (opcode10 & 3) + 4; n 3039 src/dps8/dps8_ins.c CPTUR (cptUsePRn + n); n 3107 src/dps8/dps8_ins.c uint32 n = opcode10 & 07; // get n n 3109 src/dps8/dps8_ins.c cpu.CY = ((word36) cpu.rX[n]) << 18; n 3275 src/dps8/dps8_ins.c uint n = ((opcode10 & 0400) >> 6) | (opcode10 & 03); n 3276 src/dps8/dps8_ins.c CPTUR (cptUsePRn + n); n 3278 src/dps8/dps8_ins.c cpu.Ypair[0] |= ((word36) cpu.PR[n].SNR) << 18; n 3279 src/dps8/dps8_ins.c cpu.Ypair[0] |= ((word36) cpu.PR[n].RNR) << 15; n 3471 src/dps8/dps8_ins.c uint32 n = opcode10 & 07; // get n n 3472 src/dps8/dps8_ins.c cpu.rX[n] = compl18 (GETHI (cpu.CY), & cpu.cu.IR, & ovf); n 3474 src/dps8/dps8_ins.c HDBGRegXW (n, "lcxn"); n 3578 src/dps8/dps8_ins.c uint32 n = opcode10 & 07; // get n n 3579 src/dps8/dps8_ins.c cpu.rX[n] = GETHI (cpu.CY); n 3581 src/dps8/dps8_ins.c HDBGRegXW (n, "ldxn"); n 3583 src/dps8/dps8_ins.c SC_I_ZERO (cpu.rX[n] == 0); n 3584 src/dps8/dps8_ins.c SC_I_NEG (cpu.rX[n] & SIGN18); n 4352 src/dps8/dps8_ins.c uint32 n = opcode10 & 07; // get n n 4354 src/dps8/dps8_ins.c HDBGRegXR (n, "adlxn"); n 4357 src/dps8/dps8_ins.c cpu.rX[n] = Add18b (cpu.rX[n], GETHI (cpu.CY), 0, I_ZNC, n 4360 src/dps8/dps8_ins.c HDBGRegXW (n, "adlxn"); n 4379 src/dps8/dps8_ins.c uint32 n = opcode10 & 07; // get n n 4381 src/dps8/dps8_ins.c HDBGRegXR (n, "adxn"); n 4384 src/dps8/dps8_ins.c cpu.rX[n] = Add18b (cpu.rX[n], GETHI (cpu.CY), 0, n 4388 src/dps8/dps8_ins.c HDBGRegXW (n, "adxn"); n 4438 src/dps8/dps8_ins.c uint32 n = opcode10 & 07; // get n n 4440 src/dps8/dps8_ins.c HDBGRegXR (n, "asxn"); n 4443 src/dps8/dps8_ins.c word18 tmp18 = Add18b (cpu.rX[n], GETHI (cpu.CY), 0, n 4600 src/dps8/dps8_ins.c uint32 n = opcode10 & 07; // get n n 4602 src/dps8/dps8_ins.c HDBGRegXR (n, "sblxn"); n 4605 src/dps8/dps8_ins.c cpu.rX[n] = Sub18b (cpu.rX[n], GETHI (cpu.CY), 1, n 4608 src/dps8/dps8_ins.c HDBGRegXW (n, "sblxn"); n 4643 src/dps8/dps8_ins.c uint32 n = opcode10 & 07; // get n n 4645 src/dps8/dps8_ins.c HDBGRegXR (n, "sbxn"); n 4648 src/dps8/dps8_ins.c cpu.rX[n] = Sub18b (cpu.rX[n], GETHI (cpu.CY), 1, n 4651 src/dps8/dps8_ins.c HDBGRegXW (n, "sbxn"); n 4699 src/dps8/dps8_ins.c uint32 n = opcode10 & 07; // get n n 4701 src/dps8/dps8_ins.c HDBGRegXR (n, "ssxn"); n 4704 src/dps8/dps8_ins.c word18 tmp18 = Sub18b (cpu.rX[n], GETHI (cpu.CY), 1, n 5171 src/dps8/dps8_ins.c uint32 n = opcode10 & 07; // get n n 5173 src/dps8/dps8_ins.c HDBGRegXR (n, "cmpxn"); n 5175 src/dps8/dps8_ins.c cmp18 (cpu.rX[n], GETHI (cpu.CY), &cpu.cu.IR); n 5277 src/dps8/dps8_ins.c uint32 n = opcode10 & 07; // get n n 5279 src/dps8/dps8_ins.c HDBGRegXR (n, "ansxn"); n 5281 src/dps8/dps8_ins.c word18 tmp18 = cpu.rX[n] & GETHI (cpu.CY); n 5304 src/dps8/dps8_ins.c uint32 n = opcode10 & 07; // get n n 5306 src/dps8/dps8_ins.c HDBGRegXR (n, "anxn"); n 5308 src/dps8/dps8_ins.c cpu.rX[n] &= GETHI (cpu.CY); n 5309 src/dps8/dps8_ins.c cpu.rX[n] &= MASK18; n 5311 src/dps8/dps8_ins.c HDBGRegXW (n, "anxn"); n 5314 src/dps8/dps8_ins.c SC_I_ZERO (cpu.rX[n] == 0); n 5315 src/dps8/dps8_ins.c SC_I_NEG (cpu.rX[n] & SIGN18); n 5406 src/dps8/dps8_ins.c uint32 n = opcode10 & 07; // get n n 5408 src/dps8/dps8_ins.c word18 tmp18 = cpu.rX[n] | GETHI (cpu.CY); n 5430 src/dps8/dps8_ins.c uint32 n = opcode10 & 07; // get n n 5432 src/dps8/dps8_ins.c HDBGRegXR (n, "orxn"); n 5434 src/dps8/dps8_ins.c cpu.rX[n] |= GETHI (cpu.CY); n 5435 src/dps8/dps8_ins.c cpu.rX[n] &= MASK18; n 5437 src/dps8/dps8_ins.c HDBGRegXW (n, "orxn"); n 5440 src/dps8/dps8_ins.c SC_I_ZERO (cpu.rX[n] == 0); n 5441 src/dps8/dps8_ins.c SC_I_NEG (cpu.rX[n] & SIGN18); n 5517 src/dps8/dps8_ins.c uint32 n = opcode10 & 07; // get n n 5519 src/dps8/dps8_ins.c HDBGRegXR (n, "ersxn"); n 5522 src/dps8/dps8_ins.c word18 tmp18 = cpu.rX[n] ^ GETHI (cpu.CY); n 5544 src/dps8/dps8_ins.c uint32 n = opcode10 & 07; // get n n 5546 src/dps8/dps8_ins.c HDBGRegXR (n, "erxn"); n 5548 src/dps8/dps8_ins.c cpu.rX[n] ^= GETHI (cpu.CY); n 5549 src/dps8/dps8_ins.c cpu.rX[n] &= MASK18; n 5551 src/dps8/dps8_ins.c HDBGRegXW (n, "erxn"); n 5554 src/dps8/dps8_ins.c SC_I_ZERO (cpu.rX[n] == 0); n 5555 src/dps8/dps8_ins.c SC_I_NEG (cpu.rX[n] & SIGN18); n 5615 src/dps8/dps8_ins.c uint32 n = opcode10 & 07; // get n n 5617 src/dps8/dps8_ins.c HDBGRegXR (n, "canxn"); n 5619 src/dps8/dps8_ins.c word18 tmp18 = cpu.rX[n] & GETHI (cpu.CY); n 5623 src/dps8/dps8_ins.c n, cpu.rX[n], (word18) (GETHI (cpu.CY) & MASK18), n 5697 src/dps8/dps8_ins.c uint32 n = opcode10 & 07; // get n n 5699 src/dps8/dps8_ins.c HDBGRegXR (n, "cnaxn"); n 5701 src/dps8/dps8_ins.c word18 tmp18 = cpu.rX[n] & ~GETHI (cpu.CY); n 6555 src/dps8/dps8_ins.c for (uint32 n = 0 ; n < 8 ; n ++) n 6557 src/dps8/dps8_ins.c CPTUR (cptUsePRn + n); n 6559 src/dps8/dps8_ins.c cpu.Ypair[0] = cpu.Yblock16[n * 2 + 0]; n 6561 src/dps8/dps8_ins.c cpu.Ypair[1] = cpu.Yblock16[n * 2 + 1]; n 6566 src/dps8/dps8_ins.c cpu.PR[n].RNR = max3 (Crr, cpu.SDW->R1, cpu.TPR.TRR); n 6568 src/dps8/dps8_ins.c cpu.PR[n].RNR = Crr; n 6569 src/dps8/dps8_ins.c cpu.PR[n].SNR = (cpu.Ypair[0] >> 18) & MASK15; n 6570 src/dps8/dps8_ins.c cpu.PR[n].WORDNO = GETHI (cpu.Ypair[1]); n 6579 src/dps8/dps8_ins.c SET_PR_BITNO (n, bitno); n 6581 src/dps8/dps8_ins.c HDBGRegPRW (n, "lpri"); n 6625 src/dps8/dps8_ins.c for (uint32 n = 0 ; n < 8 ; n++) n 6627 src/dps8/dps8_ins.c CPTUR (cptUsePRn + n); n 6628 src/dps8/dps8_ins.c cpu.Yblock16[2 * n] = 043; n 6629 src/dps8/dps8_ins.c cpu.Yblock16[2 * n] |= ((word36) cpu.PR[n].SNR) << 18; n 6630 src/dps8/dps8_ins.c cpu.Yblock16[2 * n] |= ((word36) cpu.PR[n].RNR) << 15; n 6632 src/dps8/dps8_ins.c cpu.Yblock16[2 * n + 1] = (word36) cpu.PR[n].WORDNO << 18; n 6633 src/dps8/dps8_ins.c cpu.Yblock16[2 * n + 1] |= (word36) GET_PR_BITNO(n) << 9; n 6662 src/dps8/dps8_ins.c uint32 n = opcode10 & 07; // get n n 6663 src/dps8/dps8_ins.c CPTUR (cptUsePRn + n); n 6669 src/dps8/dps8_ins.c if ((cpu.PR[n].SNR & 070000) != 0 && cpu.PR[n].SNR != MASK15) n 6672 src/dps8/dps8_ins.c cpu.CY = ((word36) (GET_PR_BITNO(n) & 077)) << 30; n 6674 src/dps8/dps8_ins.c cpu.CY |= ((word36) (cpu.PR[n].SNR & 07777)) << 18; n 6675 src/dps8/dps8_ins.c cpu.CY |= cpu.PR[n].WORDNO & PAMASK; n 6691 src/dps8/dps8_ins.c uint32 n = opcode10 & 03; // get n n 6692 src/dps8/dps8_ins.c CPTUR (cptUsePRn + n); n 6693 src/dps8/dps8_ins.c cpu.PR[n].WORDNO += GETHI (cpu.CY); n 6694 src/dps8/dps8_ins.c cpu.PR[n].WORDNO &= MASK18; n 6695 src/dps8/dps8_ins.c SET_PR_BITNO (n, 0); n 6697 src/dps8/dps8_ins.c HDBGRegPRW (n, "adwpn"); n 6710 src/dps8/dps8_ins.c uint32 n = (opcode10 & MASK3) + 4U; // get n n 6711 src/dps8/dps8_ins.c CPTUR (cptUsePRn + n); n 6712 src/dps8/dps8_ins.c cpu.PR[n].WORDNO += GETHI (cpu.CY); n 6713 src/dps8/dps8_ins.c cpu.PR[n].WORDNO &= MASK18; n 6714 src/dps8/dps8_ins.c SET_PR_BITNO (n, 0); n 6716 src/dps8/dps8_ins.c HDBGRegPRW (n, "adwpn"); n 7038 src/dps8/dps8_ins.c for (int n=1;n<=35;n++) { n 8472 src/dps8/dps8_ins.c uint32 n = opcode10 & 07; // get n 8473 src/dps8/dps8_ins.c CPTUR (cptUsePRn + n); n 8476 src/dps8/dps8_ins.c cpu.AR[n].WORDNO = GETHI (cpu.CY); n 8510 src/dps8/dps8_ins.c SET_AR_CHAR_BITNO (n, (word2) (CN/2), (CN % 2) ? 5 : 0); n 8519 src/dps8/dps8_ins.c cpu.AR[n].WORDNO = 0; n 8520 src/dps8/dps8_ins.c SET_AR_CHAR_BITNO (n, 0, 0); n 8527 src/dps8/dps8_ins.c SET_AR_CHAR_BITNO (n, (word2) ((6 * CN) / 9), n 8536 src/dps8/dps8_ins.c SET_AR_CHAR_BITNO (n, (word2) (CN >> 1), 0); n 8542 src/dps8/dps8_ins.c cpu.AR[n].WORDNO = 0; n 8543 src/dps8/dps8_ins.c SET_AR_CHAR_BITNO (n, 0, 0); n 8545 src/dps8/dps8_ins.c HDBGRegARW (n, "aarn"); n 8550 src/dps8/dps8_ins.c HDBGRegARW (n, "aarn"); n 8570 src/dps8/dps8_ins.c uint32 n = opcode10 & 07; // get n n 8571 src/dps8/dps8_ins.c CPTUR (cptUsePRn + n); n 8572 src/dps8/dps8_ins.c cpu.AR[n].WORDNO = GETHI (cpu.CY); n 8574 src/dps8/dps8_ins.c SET_AR_CHAR_BITNO (n, getbits36_2 (cpu.CY, 18), n 8577 src/dps8/dps8_ins.c HDBGRegARW (n, "larn"); n 8587 src/dps8/dps8_ins.c for (uint32 n = 0 ; n < 8 ; n += 1) n 8589 src/dps8/dps8_ins.c CPTUR (cptUsePRn + n); n 8590 src/dps8/dps8_ins.c word36 tmp36 = cpu.Yblock8[n]; n 8591 src/dps8/dps8_ins.c cpu.AR[n].WORDNO = getbits36_18 (tmp36, 0); n 8592 src/dps8/dps8_ins.c SET_AR_CHAR_BITNO (n, getbits36_2 (tmp36, 18), n 8595 src/dps8/dps8_ins.c HDBGRegARW (n, "lareg"); n 8621 src/dps8/dps8_ins.c uint32 n = opcode10 & 07; // get n 8622 src/dps8/dps8_ins.c CPTUR (cptUsePRn + n); n 8625 src/dps8/dps8_ins.c cpu.AR[n].WORDNO = GETHI (cpu.CY); n 8659 src/dps8/dps8_ins.c SET_AR_CHAR_BITNO (n, (word2) (CN/2), (CN % 2) ? 5 : 0); n 8673 src/dps8/dps8_ins.c SET_AR_CHAR_BITNO (n, (word2) CN, 0); n 8677 src/dps8/dps8_ins.c HDBGRegARW (n, "narn"); n 8713 src/dps8/dps8_ins.c uint32 n = opcode10 & 07; // get n 8714 src/dps8/dps8_ins.c CPTUR (cptUsePRn + n); n 8718 src/dps8/dps8_ins.c putbits36_18 (& cpu.CY, 0, cpu.AR[n].WORDNO & MASK18); n 8731 src/dps8/dps8_ins.c CN = (9 * GET_AR_CHAR (n) + GET_AR_BITNO (n) - 1) / 4; n 8738 src/dps8/dps8_ins.c CN = (9 * GET_AR_CHAR (n) + GET_AR_BITNO (n)) / 6; n 8747 src/dps8/dps8_ins.c (word3) ((GET_AR_CHAR (n) & MASK2) << 1)); n 8768 src/dps8/dps8_ins.c uint32 n = opcode10 & 07; // get register # n 8769 src/dps8/dps8_ins.c CPTUR (cptUsePRn + n); n 8778 src/dps8/dps8_ins.c putbits36_18 (& cpu.CY, 0, cpu.AR[n].WORDNO & MASK18); n 8787 src/dps8/dps8_ins.c word3 CN = (9 * GET_AR_CHAR (n) + n 8788 src/dps8/dps8_ins.c GET_AR_BITNO (n) - 1) / 4; n 8797 src/dps8/dps8_ins.c (word3) ((GET_AR_CHAR (n) & MASK2) << 1)); n 8821 src/dps8/dps8_ins.c uint32 n = opcode10 & 07; // get n n 8822 src/dps8/dps8_ins.c CPTUR (cptUsePRn + n); n 8823 src/dps8/dps8_ins.c putbits36 (& cpu.CY, 0, 18, cpu.PR[n].WORDNO); n 8825 src/dps8/dps8_ins.c putbits36 (& cpu.CY, 18, 2, GET_AR_CHAR (n)); n 8826 src/dps8/dps8_ins.c putbits36 (& cpu.CY, 20, 4, GET_AR_BITNO (n)); n 8840 src/dps8/dps8_ins.c for (uint32 n = 0 ; n < 8 ; n += 1) n 8842 src/dps8/dps8_ins.c CPTUR (cptUsePRn + n); n 8844 src/dps8/dps8_ins.c putbits36 (& arx, 0, 18, cpu.PR[n].WORDNO); n 8845 src/dps8/dps8_ins.c putbits36 (& arx, 18, 2, GET_AR_CHAR (n)); n 8846 src/dps8/dps8_ins.c putbits36 (& arx, 20, 4, GET_AR_BITNO (n)); n 8847 src/dps8/dps8_ins.c cpu.Yblock8[n] = arx; n 9252 src/dps8/dps8_ins.c n 9256 src/dps8/dps8_ins.c n 9257 src/dps8/dps8_ins.c n 938 src/dps8/dps8_iom.c int n = atoi (cptr); n 939 src/dps8/dps8_iom.c if (n < 1 || n > N_IOM_UNITS_MAX) n 944 src/dps8/dps8_iom.c iom_dev.numunits = (unsigned) n; n 53 src/dps8/dps8_math.c long double ldexpl(long double x, int n) { n 54 src/dps8/dps8_math.c return __builtin_ldexpl(x, n); n 98 src/dps8/dps8_math.c for(int n = 70 ; n >= 0 ; n -= 1) // this also normalizes the mantissa n 101 src/dps8/dps8_math.c if (isnonzero_128 (and_128 (Mant, lshift_128 (construct_128 (0, 1), (unsigned int) n)))) n 106 src/dps8/dps8_math.c if (Mant & ((word72)1 << n)) n 150 src/dps8/dps8_math.c for(int n = 70 ; n >= 0 ; n -= 1) // this also normalizes the mantissa n 153 src/dps8/dps8_math.c if (isnonzero_128 (and_128 (Mant, lshift_128 (construct_128 (0, 1), (unsigned int) n)))) n 158 src/dps8/dps8_math.c if (Mant & ((word72)1 << n)) n 199 src/dps8/dps8_math.c for(int n = 62 ; n >= 0 && mant > 0; n -= 1) n 204 src/dps8/dps8_math.c putbits72 (& result, 71-n, 1, 1); n 316 src/dps8/dps8_math.c for(int n = 70 ; n >= 0 && mant > 0; n -= 1) n 321 src/dps8/dps8_math.c putbits72 (& result 71-n, 1, 1); n 365 src/dps8/dps8_math.c n 367 src/dps8/dps8_math.c n 402 src/dps8/dps8_math.c n 407 src/dps8/dps8_math.c n 537 src/dps8/dps8_math.c for (int n = 0 ; n < shift_count ; n += 1) { n 551 src/dps8/dps8_math.c for (int n = 0 ; n < shift_count ; n += 1) { n 570 src/dps8/dps8_math.c for (int n = 0 ; n < shift_count ; n += 1) { n 584 src/dps8/dps8_math.c for (int n = 0 ; n < shift_count ; n += 1) { n 1723 src/dps8/dps8_math.c for(int n = 0; n < shift_count; n += 1) { n 1756 src/dps8/dps8_math.c for (int n = 0 ; n < shift_count ; n += 1) { n 1857 src/dps8/dps8_math.c for (int n = 0; n < shift_count; n += 1) { n 1890 src/dps8/dps8_math.c for (int n = 0; n < shift_count; n += 1) { n 2063 src/dps8/dps8_math.c for (int n = 0; n < shift_count; n += 1) { n 2096 src/dps8/dps8_math.c for (int n = 0; n < shift_count; n += 1) { n 3341 src/dps8/dps8_math.c for (int n = 0; n < shift_count; n += 1) { n 3359 src/dps8/dps8_math.c for (int n = 0; n < shift_count; n += 1) { n 3385 src/dps8/dps8_math.c for (int n = 0; n < shift_count; n += 1) { n 3403 src/dps8/dps8_math.c for (int n = 0; n < shift_count; n += 1) { n 3477 src/dps8/dps8_math.c for (int n = 0; n < shift_count; n += 1) { n 3493 src/dps8/dps8_math.c for (int n = 0; n < shift_count; n += 1) { n 3512 src/dps8/dps8_math.c for (int n = 0; n < shift_count; n += 1) { n 3528 src/dps8/dps8_math.c for (int n = 0; n < shift_count; n += 1) { n 168 src/dps8/dps8_math128.c uint128 lshift_128 (uint128 a, unsigned int n) n 175 src/dps8/dps8_math128.c if (n < 64) n 177 src/dps8/dps8_math128.c uint64_t nmask = (uint64_t) ((~(MASK64 << n))); n 180 src/dps8/dps8_math128.c uint64_t keep = (a.l >> (64 - n)) & nmask; n 183 src/dps8/dps8_math128.c uint64_t l = a.l << n; n 186 src/dps8/dps8_math128.c uint64_t h = a.h << n; n 193 src/dps8/dps8_math128.c uint64_t h = a.l << (n - 64); n 197 src/dps8/dps8_math128.c int128 lshift_s128 (int128 a, unsigned int n) n 199 src/dps8/dps8_math128.c uint128 t = lshift_128 (cast_128 (a), n); n 203 src/dps8/dps8_math128.c uint128 rshift_128 (uint128 a, unsigned int n) n 207 src/dps8/dps8_math128.c n 209 src/dps8/dps8_math128.c n 211 src/dps8/dps8_math128.c n 213 src/dps8/dps8_math128.c n 215 src/dps8/dps8_math128.c n 219 src/dps8/dps8_math128.c n 222 src/dps8/dps8_math128.c n 225 src/dps8/dps8_math128.c n 228 src/dps8/dps8_math128.c n 234 src/dps8/dps8_math128.c n 236 src/dps8/dps8_math128.c n 243 src/dps8/dps8_math128.c n 248 src/dps8/dps8_math128.c n 256 src/dps8/dps8_math128.c while (n) n 264 src/dps8/dps8_math128.c n --; n 269 src/dps8/dps8_math128.c int128 rshift_s128 (int128 a, unsigned int n) n 271 src/dps8/dps8_math128.c uint128 t = rshift_128 (cast_128 (a), n); n 278 src/dps8/dps8_math128.c uint32_t v[], int m, int n) n 290 src/dps8/dps8_math128.c for (j = 0; j < n; j++) n 305 src/dps8/dps8_math128.c uint32_t v[], int m, int n) n 307 src/dps8/dps8_math128.c mulmn (w, u, v, m, n); n 316 src/dps8/dps8_math128.c for (int j = 0; j < n; j++) n 323 src/dps8/dps8_math128.c if ((int32_t)v[n - 1] < 0) n 328 src/dps8/dps8_math128.c int t = (int) w[i + n] - (int) u[i] - b; n 329 src/dps8/dps8_math128.c w[i + n] = (uint32_t) t; n 339 src/dps8/dps8_math128.c int n; n 344 src/dps8/dps8_math128.c n = 0; n 348 src/dps8/dps8_math128.c n = n + 16; n 354 src/dps8/dps8_math128.c n = n + 8; n 360 src/dps8/dps8_math128.c n = n + 4; n 366 src/dps8/dps8_math128.c n = n + 2; n 372 src/dps8/dps8_math128.c n = n + 1; n 375 src/dps8/dps8_math128.c return n; n 382 src/dps8/dps8_math128.c int m, int n) n 392 src/dps8/dps8_math128.c if (m < n || n <= 0 || v[n-1] == 0) n 396 src/dps8/dps8_math128.c if (n == 1) n 413 src/dps8/dps8_math128.c s = nlz (v[n-1]) - 16; // 0 <= s <= 16. n 415 src/dps8/dps8_math128.c uint16_t vn [n]; n 416 src/dps8/dps8_math128.c for (i = n - 1; i > 0; i--) n 426 src/dps8/dps8_math128.c for (j = m - n; j >= 0; j--) n 429 src/dps8/dps8_math128.c qhat = (un[j+n]*b + un[j+n-1])/vn[n-1]; n 430 src/dps8/dps8_math128.c rhat = (un[j+n]*b + un[j+n-1])%vn[n-1]; n 432 src/dps8/dps8_math128.c if (qhat >= b || (unsigned)qhat*(unsigned long long)vn[n-2] > b*rhat + un[j+n-2]) n 435 src/dps8/dps8_math128.c rhat = rhat + vn[n-1]; n 441 src/dps8/dps8_math128.c for (i = 0; i < n; i++) n 448 src/dps8/dps8_math128.c t = un[j+n] - k; n 449 src/dps8/dps8_math128.c un[j+n] = (uint16_t) t; n 456 src/dps8/dps8_math128.c for (i = 0; i < n; i++) n 462 src/dps8/dps8_math128.c un[j+n] = (uint16_t) (un[j+n] + k); n 469 src/dps8/dps8_math128.c for (i = 0; i < n; i++) n 519 src/dps8/dps8_math128.c const int n = 8; n 520 src/dps8/dps8_math128.c uint16_t q[m], u[m], v[n]; n 574 src/dps8/dps8_math128.c const int n = 1; n 575 src/dps8/dps8_math128.c uint16_t q[m], u[m], v[n]; n 589 src/dps8/dps8_math128.c divmnu (q, remp, u, v, m, n); n 610 src/dps8/dps8_math128.c const int n = 2; n 611 src/dps8/dps8_math128.c uint16_t q[m], u[m], v[n], r[2]; n 626 src/dps8/dps8_math128.c divmnu (q, remp ? r : NULL, u, v, m, n); n 765 src/dps8/dps8_math128.c static void tls (uint64_t ah, uint64_t al, unsigned int n, n 769 src/dps8/dps8_math128.c uint128 r = lshift_128 (a, n); n 774 src/dps8/dps8_math128.c (unsigned long long)ah, (unsigned long long)al, (unsigned long long)n, n 780 src/dps8/dps8_math128.c static void trs (uint64_t ah, uint64_t al, unsigned int n, n 784 src/dps8/dps8_math128.c uint128 r = rshift_128 (a, n); n 789 src/dps8/dps8_math128.c (unsigned long long)ah, (unsigned long long)al, (unsigned long long)n, n 52 src/dps8/dps8_math128.h uint128 lshift_128 (uint128 a, unsigned int n); n 53 src/dps8/dps8_math128.h int128 lshift_s128 (int128 a, unsigned int n); n 54 src/dps8/dps8_math128.h uint128 rshift_128 (uint128 a, unsigned int n); n 55 src/dps8/dps8_math128.h int128 rshift_s128 (int128 a, unsigned int n); n 167 src/dps8/dps8_mt.c int n = atoi (cptr); n 168 src/dps8/dps8_mt.c if (n < 0 || n > N_MTP_UNITS_MAX) n 170 src/dps8/dps8_mt.c mtp_dev.numunits = (uint32) n; n 199 src/dps8/dps8_mt.c int n = (int) atoi (cptr); n 200 src/dps8/dps8_mt.c if (n < 0 || n >= N_DEV_CODES) n 202 src/dps8/dps8_mt.c mtp_state[mtp_unit_idx].boot_drive = (uint) n; n 234 src/dps8/dps8_mt.c int n = (int) MTP_UNIT_IDX (uptr); n 235 src/dps8/dps8_mt.c if (n < 0 || n >= N_MTP_UNITS_MAX) n 237 src/dps8/dps8_mt.c sim_printf("name : %s", mtp_state [n].device_name); n 244 src/dps8/dps8_mt.c int n = (int) MTP_UNIT_IDX (uptr); n 245 src/dps8/dps8_mt.c if (n < 0 || n >= N_MTP_UNITS_MAX) n 249 src/dps8/dps8_mt.c strncpy (mtp_state[n].device_name, cptr, MAX_DEV_NAME_LEN-1); n 250 src/dps8/dps8_mt.c mtp_state[n].device_name[MAX_DEV_NAME_LEN-1] = 0; n 253 src/dps8/dps8_mt.c mtp_state[n].device_name[0] = 0; n 419 src/dps8/dps8_mt.c int n = atoi (cptr); n 420 src/dps8/dps8_mt.c if (n < 1 || n > N_MT_UNITS_MAX) n 422 src/dps8/dps8_mt.c tape_dev . numunits = (uint32) n; n 429 src/dps8/dps8_mt.c int n = (int) MT_UNIT_NUM (uptr); n 430 src/dps8/dps8_mt.c if (n < 0 || n >= N_MT_UNITS_MAX) n 432 src/dps8/dps8_mt.c if (tape_states[n].device_name[1] == 0) n 435 src/dps8/dps8_mt.c sim_printf("name : %s", tape_states[n].device_name); n 442 src/dps8/dps8_mt.c int n = (int) MT_UNIT_NUM (uptr); n 443 src/dps8/dps8_mt.c if (n < 0 || n >= N_MT_UNITS_MAX) n 447 src/dps8/dps8_mt.c strncpy (tape_states [n] . device_name, cptr, MAX_DEV_NAME_LEN - 1); n 448 src/dps8/dps8_mt.c tape_states [n] . device_name [MAX_DEV_NAME_LEN - 1] = 0; n 451 src/dps8/dps8_mt.c tape_states [n] . device_name [0] = 0; n 782 src/dps8/dps8_prt.c uint8_t n = get_BCD_char (i); n 784 src/dps8/dps8_prt.c if (n == 077) // pr2_conv_ sez ESC ESC is case shift n 794 src/dps8/dps8_prt.c else if (n >= 041 && n <= 057) n 796 src/dps8/dps8_prt.c int nchars = (n - 040) * 8; n 803 src/dps8/dps8_prt.c else if (n >= 020 && n <= 022) n 812 src/dps8/dps8_prt.c else if (n == 0) // slew 0 lines is just CR n 820 src/dps8/dps8_prt.c else if (n <= 017) n 822 src/dps8/dps8_prt.c ssize_t n_write = write (prt_state[prt_unit_num].prtfile, newlines, n); n 823 src/dps8/dps8_prt.c if (n_write != n) n 831 src/dps8/dps8_prt.c sim_warn ("Printer BCD edited ESC %u. %o ignored\n", n, n); n 876 src/dps8/dps8_prt.c uint8_t n = get_ASCII_char (i); n 877 src/dps8/dps8_prt.c ssize_t n_write = write (prt_state[prt_unit_num].prtfile, spaces, n); n 878 src/dps8/dps8_prt.c if (n_write != n) n 882 src/dps8/dps8_prt.c col += n; n 887 src/dps8/dps8_prt.c uint8_t n = get_ASCII_char (i); n 888 src/dps8/dps8_prt.c if (n) n 890 src/dps8/dps8_prt.c ssize_t n_write = write (prt_state[prt_unit_num].prtfile, newlines, n); n 891 src/dps8/dps8_prt.c if (n_write != n) n 918 src/dps8/dps8_prt.c uint8_t n = get_ASCII_char (i); n 919 src/dps8/dps8_prt.c if (col < n) n 921 src/dps8/dps8_prt.c ssize_t n_write = write (prt_state[prt_unit_num].prtfile, spaces, n - col); n 922 src/dps8/dps8_prt.c if (n_write != n - col) n 926 src/dps8/dps8_prt.c col += n; n 1771 src/dps8/dps8_prt.c int n = atoi (cptr); n 1772 src/dps8/dps8_prt.c if (n < 1 || n > N_PRT_UNITS_MAX) n 1774 src/dps8/dps8_prt.c prt_dev.numunits = (uint) n; n 1781 src/dps8/dps8_prt.c int n = (int) PRT_UNIT_NUM (uptr); n 1782 src/dps8/dps8_prt.c if (n < 0 || n >= N_PRT_UNITS_MAX) n 1784 src/dps8/dps8_prt.c sim_printf("name : %s", prt_state[n].device_name); n 1791 src/dps8/dps8_prt.c int n = (int) PRT_UNIT_NUM (uptr); n 1792 src/dps8/dps8_prt.c if (n < 0 || n >= N_PRT_UNITS_MAX) n 1800 src/dps8/dps8_prt.c prt_state[n].model = i; n 1814 src/dps8/dps8_prt.c int n = (int) PRT_UNIT_NUM (uptr); n 1815 src/dps8/dps8_prt.c if (n < 0 || n >= N_PRT_UNITS_MAX) n 1817 src/dps8/dps8_prt.c sim_printf("model : %s", model_names[prt_state[n].model]); n 1824 src/dps8/dps8_prt.c int n = (int) PRT_UNIT_NUM (uptr); n 1825 src/dps8/dps8_prt.c if (n < 0 || n >= N_PRT_UNITS_MAX) n 1829 src/dps8/dps8_prt.c strncpy (prt_state[n].device_name, cptr, MAX_DEV_NAME_LEN - 1); n 1830 src/dps8/dps8_prt.c prt_state[n].device_name[MAX_DEV_NAME_LEN - 1] = 0; n 1833 src/dps8/dps8_prt.c prt_state[n].device_name[0] = 0; n 1936 src/dps8/dps8_prt.c int n = (int) PRT_UNIT_NUM (uptr); n 1937 src/dps8/dps8_prt.c if (n < 0 || n >= N_PRT_UNITS_MAX) n 1940 src/dps8/dps8_prt.c "Printer set ready: Invalid unit number %ld\n", (long) n); n 1941 src/dps8/dps8_prt.c sim_printf ("error: Invalid unit number %ld\n", (long) n); n 1944 src/dps8/dps8_prt.c return signal_prt_ready ((uint) n); n 620 src/dps8/dps8_scu.c int n = atoi (cptr); n 621 src/dps8/dps8_scu.c if (n < 1 || n > N_SCU_UNITS_MAX) n 623 src/dps8/dps8_scu.c scu_dev.numunits = (uint) n; n 102 src/dps8/dps8_socket_dev.c int n = atoi (cptr); n 103 src/dps8/dps8_socket_dev.c if (n < 1 || n > N_SKC_UNITS_MAX) n 105 src/dps8/dps8_socket_dev.c skc_dev.numunits = (uint32) n; n 112 src/dps8/dps8_socket_dev.c int n = (int) SKC_UNIT_IDX (uptr); n 113 src/dps8/dps8_socket_dev.c if (n < 0 || n >= N_SKC_UNITS_MAX) n 115 src/dps8/dps8_socket_dev.c if (skc_state[n].device_name[1] != 0) n 116 src/dps8/dps8_socket_dev.c sim_printf("Name: %s", skc_state[n].device_name); n 123 src/dps8/dps8_socket_dev.c int n = (int) SKC_UNIT_IDX (uptr); n 124 src/dps8/dps8_socket_dev.c if (n < 0 || n >= N_SKC_UNITS_MAX) n 128 src/dps8/dps8_socket_dev.c strncpy (skc_state[n].device_name, cptr, MAX_DEV_NAME_LEN-1); n 129 src/dps8/dps8_socket_dev.c skc_state[n].device_name[MAX_DEV_NAME_LEN-1] = 0; n 132 src/dps8/dps8_socket_dev.c skc_state[n].device_name[0] = 0; n 784 src/dps8/dps8_socket_dev.c for (uint n = 0; n < count; n ++) n 786 src/dps8/dps8_socket_dev.c uint wordno = (uint) n / 4; n 787 src/dps8/dps8_socket_dev.c uint charno = (uint) n % 4; n 788 src/dps8/dps8_socket_dev.c netdata[n] = getbits36_8 (buffer [5 + wordno], charno * 9 + 1); n 1211 src/dps8/dps8_socket_dev.c for (ssize_t n = 0; n < nread; n ++) n 1213 src/dps8/dps8_socket_dev.c uint wordno = (uint) n / 4; n 1214 src/dps8/dps8_socket_dev.c uint charno = (uint) n % 4; n 1215 src/dps8/dps8_socket_dev.c putbits36_9 (& buffer [5 + wordno], charno * 9, (word9) netdata [n]); n 1838 src/dps8/dps8_sys.c int n = 010000; //-V536 n 1841 src/dps8/dps8_sys.c n = (int) strtol (buf, NULL, 0); n 1843 src/dps8/dps8_sys.c sim_printf ("Restart entry 0%o\n", n); n 1847 src/dps8/dps8_sys.c n 1848 src/dps8/dps8_sys.c n 1859 src/dps8/dps8_sys.c cpu.restart_address = (uint) n; n 1869 src/dps8/dps8_sys.c int n = atoi (buf); n 1870 src/dps8/dps8_sys.c if (n < 1 || n > 1000) // 1 millisecond to 1 second n 1872 src/dps8/dps8_sys.c sim_printf ("POLL %d: must be 1 (1 millisecond) to 1000 (1 second)\r\n", n); n 1875 src/dps8/dps8_sys.c sim_printf ("Polling set to %d milliseconds\r\n", n); n 1876 src/dps8/dps8_sys.c sys_opts.sys_poll_interval = (uint) n; n 1884 src/dps8/dps8_sys.c int n = atoi (buf); n 1885 src/dps8/dps8_sys.c if (n < 1 || n > 1000) // 1 - slow poll every pool; 1000 - slow poll every 1000 polls n 1887 src/dps8/dps8_sys.c sim_printf ("SLOWPOLL %d: must be 1 (1 slow poll per pol) to 1000 (1 slow poll per 1000 polls)\r\n", n); n 1890 src/dps8/dps8_sys.c sim_printf ("Slow polling set to %d polls\r\n", n); n 1891 src/dps8/dps8_sys.c sys_opts.sys_slow_poll_interval = (uint) n; n 1899 src/dps8/dps8_sys.c int n = atoi (buf); n 1900 src/dps8/dps8_sys.c if (n < 1 || n > 1024*1024) // 1 - poll check rate in CPY cycles: 1 - check every cycle; 1024 check every 1024 cycles n 1902 src/dps8/dps8_sys.c sim_printf ("CHECKPOLL %d: must be 1 (check every cycle) to 1048576 (check every million cycles\r\n", n); n 1905 src/dps8/dps8_sys.c sim_printf ("Poll check rate set to %d CPU cycles\r\n", n); n 1906 src/dps8/dps8_sys.c sys_opts.sys_poll_check_rate = (uint) n; n 2303 src/dps8/dps8_sys.c int n = lookup_book_segment (name); n 2304 src/dps8/dps8_sys.c if (n >= 0) n 2305 src/dps8/dps8_sys.c return n; n 2322 src/dps8/dps8_sys.c n = n_book_segments; n 2324 src/dps8/dps8_sys.c return n; n 2354 src/dps8/dps8_sys.c int n = n_book_components; n 2356 src/dps8/dps8_sys.c return n; n 2651 src/dps8/dps8_sys.c int n; n 2652 src/dps8/dps8_sys.c for (n = 0; n < cnt / 2; n ++) n 2654 src/dps8/dps8_sys.c if (loc[n] > best && loc[n] <= (int) offset) n 2656 src/dps8/dps8_sys.c best = loc[n]; n 2657 src/dps8/dps8_sys.c memcpy (bestLines, linenos[n], n 3747 src/dps8/dps8_sys.c int n = dbgevent_lookup ((word15) segno, (word18) offset); n 3748 src/dps8/dps8_sys.c if (n < 0) n 3753 src/dps8/dps8_sys.c for (int i = n; i < n_dbgevents - 1; i ++) n 4448 src/dps8/dps8_sys.c int n; // number alias represents .... n 4524 src/dps8/dps8_sys.c segno = cpu.PR[prt->n].SNR; n 4525 src/dps8/dps8_sys.c PRoffset = cpu.PR[prt->n].WORDNO; n 4567 src/dps8/dps8_sys.c segno = cpu.PR[prt->n].SNR; n 4568 src/dps8/dps8_sys.c offset = cpu.PR[prt->n].WORDNO; n 4633 src/dps8/dps8_sys.c for(uint n = 0 ; n < p->info->ndes; n += 1) n 4634 src/dps8/dps8_sys.c fprintf(ofile, " %012llo", (unsigned long long int)val[n + 1]); n 104 src/dps8/dps8_urp.c int n = atoi (cptr); n 105 src/dps8/dps8_urp.c if (n < 1 || n > N_URP_UNITS_MAX) n 107 src/dps8/dps8_urp.c urp_dev.numunits = (uint32) n; n 113 src/dps8/dps8_urp.c int n = (int) URPUNIT_NUM (uptr); n 114 src/dps8/dps8_urp.c if (n < 0 || n >= N_URP_UNITS_MAX) n 116 src/dps8/dps8_urp.c sim_printf ("name : %s", urpState[n].deviceName); n 122 src/dps8/dps8_urp.c int n = (int) URPUNIT_NUM (uptr); n 123 src/dps8/dps8_urp.c if (n < 0 || n >= N_URP_UNITS_MAX) n 127 src/dps8/dps8_urp.c strncpy (urpState[n].deviceName, cptr, MAX_DEV_NAME_LEN - 1); n 128 src/dps8/dps8_urp.c urpState[n].deviceName[MAX_DEV_NAME_LEN - 1] = 0; n 131 src/dps8/dps8_urp.c urpState[n].deviceName [0] = 0; n 114 src/dps8/dps8_utils.c int n = (address >> 15) & 07; n 117 src/dps8/dps8_utils.c sprintf(buff, " pr%d|%o", n, offset); n 126 src/dps8/dps8_utils.c for(uint n = 0 ; n < 0100 ; n++) n 127 src/dps8/dps8_utils.c if (extMods[n].mod) n 128 src/dps8/dps8_utils.c if(n == tag) n 130 src/dps8/dps8_utils.c strcpy(buff, extMods[n].mod); n 158 src/dps8/dps8_utils.c for(uint n = 0 ; n < 0100 ; n++) //-V536 n 159 src/dps8/dps8_utils.c if (extMods[n].mod) n 160 src/dps8/dps8_utils.c if(n == tag) n 162 src/dps8/dps8_utils.c strcpy(msg, extMods[n].mod); n 1556 src/dps8/dps8_utils.c int64_t n = strtoll (value, & endptr, 0); n 1564 src/dps8/dps8_utils.c if (n < p -> min || n > p -> max) n 1570 src/dps8/dps8_utils.c * result = n; n 1912 src/dps8/dps8_utils.c static void print_uint128o_r (uint128 n, char * p) n 1914 src/dps8/dps8_utils.c if (n == 0) n 1917 src/dps8/dps8_utils.c print_uint128o_r(n / 8, p); n 1921 src/dps8/dps8_utils.c s [0] = n % 8 + '0'; n 1926 src/dps8/dps8_utils.c sim_printf("%c", (int) (n%8+0x30)); n 1929 src/dps8/dps8_utils.c char * print_int128o (int128 n, char * p) n 1931 src/dps8/dps8_utils.c if (n == 0) n 1939 src/dps8/dps8_utils.c print_uint128o_r ((uint128) n, p); n 1943 src/dps8/dps8_utils.c static void print_uint128_r (uint128 n, char * p) n 1945 src/dps8/dps8_utils.c if (n == 0) n 1948 src/dps8/dps8_utils.c print_uint128_r(n / 10, p); n 1952 src/dps8/dps8_utils.c s [0] = n % 10 + '0'; n 1957 src/dps8/dps8_utils.c sim_printf("%c", (int) (n%10+0x30)); n 1960 src/dps8/dps8_utils.c void print_int128 (int128 n, char * p) n 1962 src/dps8/dps8_utils.c if (n == 0) n 1970 src/dps8/dps8_utils.c if (n < 0) n 1976 src/dps8/dps8_utils.c n = -n; n 1978 src/dps8/dps8_utils.c print_uint128_r ((uint128) n, p); n 107 src/dps8/dps8_utils.h n 110 src/dps8/dps8_utils.h n 113 src/dps8/dps8_utils.h n 117 src/dps8/dps8_utils.h n 121 src/dps8/dps8_utils.h static inline word36 getbits36(word36 x, uint i, uint n) { n 123 src/dps8/dps8_utils.h int shift = 35-(int)i-(int)n+1; n 125 src/dps8/dps8_utils.h sim_printf ("getbits36: bad args (%012llu,i=%d,n=%d)\n", (unsigned long long)x, i, n); n 128 src/dps8/dps8_utils.h return (x >> (unsigned) shift) & ~ (~0U << n); n 318 src/dps8/dps8_utils.h static inline word36 setbits36(word36 x, uint p, uint n, word36 val) n 320 src/dps8/dps8_utils.h int shift = 36 - (int) p - (int) n; n 322 src/dps8/dps8_utils.h sim_printf ("setbits36: bad args (%012llu,pos=%d,n=%d)\n", (unsigned long long)x, p, n); n 325 src/dps8/dps8_utils.h word36 mask = ~ (~0U<<n); // n low bits on n 329 src/dps8/dps8_utils.h word36 result = (x & ~ mask) | ((val&MASKBITS(n)) << (36 - p - n)); n 335 src/dps8/dps8_utils.h const int n = 1; n 336 src/dps8/dps8_utils.h int shift = 36 - (int) p - (int) n; n 341 src/dps8/dps8_utils.h word36 mask = ~ (~0U<<n); // n low bits on n 351 src/dps8/dps8_utils.h const int n = 4; n 352 src/dps8/dps8_utils.h int shift = 36 - (int) p - (int) n; n 357 src/dps8/dps8_utils.h word36 mask = ~ (~0U<<n); // n low bits on n 367 src/dps8/dps8_utils.h const int n = 5; n 368 src/dps8/dps8_utils.h int shift = 36 - (int) p - (int) n; n 373 src/dps8/dps8_utils.h word36 mask = ~ (~0U<<n); // n low bits on n 383 src/dps8/dps8_utils.h const int n = 6; n 384 src/dps8/dps8_utils.h int shift = 36 - (int) p - (int) n; n 389 src/dps8/dps8_utils.h word36 mask = ~ (~0U<<n); // n low bits on n 399 src/dps8/dps8_utils.h const int n = 8; n 400 src/dps8/dps8_utils.h int shift = 36 - (int) p - (int) n; n 405 src/dps8/dps8_utils.h word36 mask = ~ (~0U<<n); // n low bits on n 415 src/dps8/dps8_utils.h const int n = 9; n 416 src/dps8/dps8_utils.h int shift = 36 - (int) p - (int) n; n 421 src/dps8/dps8_utils.h word36 mask = ~ (~0U<<n); // n low bits on n 431 src/dps8/dps8_utils.h const int n = 16; n 432 src/dps8/dps8_utils.h int shift = 36 - (int) p - (int) n; n 437 src/dps8/dps8_utils.h word36 mask = ~ (~0U<<n); // n low bits on n 447 src/dps8/dps8_utils.h const int n = 24; n 448 src/dps8/dps8_utils.h int shift = 36 - (int) p - (int) n; n 453 src/dps8/dps8_utils.h word36 mask = ~ (~0U<<n); // n low bits on n 461 src/dps8/dps8_utils.h static inline void putbits36 (word36 * x, uint p, uint n, word36 val) n 463 src/dps8/dps8_utils.h int shift = 36 - (int) p - (int) n; n 466 src/dps8/dps8_utils.h sim_printf ("putbits36: bad args (%012llu,pos=%d,n=%d)\n", (unsigned long long)*x, p, n); n 469 src/dps8/dps8_utils.h word36 mask = ~ (~0U << n); // n low bits on n 473 src/dps8/dps8_utils.h * x = (* x & ~mask) | ((val & MASKBITS (n)) << (36 - p - n)); n 479 src/dps8/dps8_utils.h const int n = 1; n 480 src/dps8/dps8_utils.h int shift = 36 - (int) p - (int) n; n 485 src/dps8/dps8_utils.h word36 mask = ~ (~0U<<n); // n low bits on n 494 src/dps8/dps8_utils.h const int n = 2; n 495 src/dps8/dps8_utils.h int shift = 36 - (int) p - (int) n; n 500 src/dps8/dps8_utils.h word36 mask = ~ (~0U<<n); // n low bits on n 509 src/dps8/dps8_utils.h const int n = 3; n 510 src/dps8/dps8_utils.h int shift = 36 - (int) p - (int) n; n 515 src/dps8/dps8_utils.h word36 mask = ~ (~0U<<n); // n low bits on n 524 src/dps8/dps8_utils.h const int n = 4; n 525 src/dps8/dps8_utils.h int shift = 36 - (int) p - (int) n; n 530 src/dps8/dps8_utils.h word36 mask = ~ (~0U<<n); // n low bits on n 539 src/dps8/dps8_utils.h const int n = 5; n 540 src/dps8/dps8_utils.h int shift = 36 - (int) p - (int) n; n 545 src/dps8/dps8_utils.h word36 mask = ~ (~0U<<n); // n low bits on n 554 src/dps8/dps8_utils.h const int n = 6; n 555 src/dps8/dps8_utils.h int shift = 36 - (int) p - (int) n; n 560 src/dps8/dps8_utils.h word36 mask = ~ (~0U<<n); // n low bits on n 569 src/dps8/dps8_utils.h const int n = 7; n 570 src/dps8/dps8_utils.h int shift = 36 - (int) p - (int) n; n 575 src/dps8/dps8_utils.h word36 mask = ~ (~0U<<n); // n low bits on n 584 src/dps8/dps8_utils.h const int n = 8; n 585 src/dps8/dps8_utils.h int shift = 36 - (int) p - (int) n; n 590 src/dps8/dps8_utils.h word36 mask = ~ (~0U<<n); // n low bits on n 599 src/dps8/dps8_utils.h const int n = 9; n 600 src/dps8/dps8_utils.h int shift = 36 - (int) p - (int) n; n 605 src/dps8/dps8_utils.h word36 mask = ~ (~0U<<n); // n low bits on n 633 src/dps8/dps8_utils.h const int n = 10; n 634 src/dps8/dps8_utils.h int shift = 36 - (int) p - (int) n; n 639 src/dps8/dps8_utils.h word36 mask = ~ (~0U<<n); // n low bits on n 648 src/dps8/dps8_utils.h const int n = 12; n 649 src/dps8/dps8_utils.h int shift = 36 - (int) p - (int) n; n 654 src/dps8/dps8_utils.h word36 mask = ~ (~0U<<n); // n low bits on n 663 src/dps8/dps8_utils.h const int n = 13; n 664 src/dps8/dps8_utils.h int shift = 36 - (int) p - (int) n; n 669 src/dps8/dps8_utils.h word36 mask = ~ (~0U<<n); // n low bits on n 678 src/dps8/dps8_utils.h const int n = 14; n 679 src/dps8/dps8_utils.h int shift = 36 - (int) p - (int) n; n 684 src/dps8/dps8_utils.h word36 mask = ~ (~0U<<n); // n low bits on n 693 src/dps8/dps8_utils.h const int n = 15; n 694 src/dps8/dps8_utils.h int shift = 36 - (int) p - (int) n; n 699 src/dps8/dps8_utils.h word36 mask = ~ (~0U<<n); // n low bits on n 708 src/dps8/dps8_utils.h const int n = 16; n 709 src/dps8/dps8_utils.h int shift = 36 - (int) p - (int) n; n 714 src/dps8/dps8_utils.h word36 mask = ~ (~0U<<n); // n low bits on n 723 src/dps8/dps8_utils.h const int n = 17; n 724 src/dps8/dps8_utils.h int shift = 36 - (int) p - (int) n; n 729 src/dps8/dps8_utils.h word36 mask = ~ (~0U<<n); // n low bits on n 738 src/dps8/dps8_utils.h const int n = 18; n 739 src/dps8/dps8_utils.h int shift = 36 - (int) p - (int) n; n 744 src/dps8/dps8_utils.h word36 mask = ~ (~0U<<n); // n low bits on n 753 src/dps8/dps8_utils.h const int n = 23; n 754 src/dps8/dps8_utils.h int shift = 36 - (int) p - (int) n; n 759 src/dps8/dps8_utils.h word36 mask = ~ (~0U<<n); // n low bits on n 768 src/dps8/dps8_utils.h const int n = 24; n 769 src/dps8/dps8_utils.h int shift = 36 - (int) p - (int) n; n 774 src/dps8/dps8_utils.h word36 mask = ~ (~0U<<n); // n low bits on n 783 src/dps8/dps8_utils.h const int n = 28; n 784 src/dps8/dps8_utils.h int shift = 36 - (int) p - (int) n; n 789 src/dps8/dps8_utils.h word36 mask = ~ (~0U<<n); // n low bits on n 796 src/dps8/dps8_utils.h static inline void putbits72 (word72 * x, uint p, uint n, word72 val) n 798 src/dps8/dps8_utils.h int shift = 72 - (int) p - (int) n; n 801 src/dps8/dps8_utils.h sim_printf ("putbits72: bad args (pos=%d,n=%d)\n", p, n); n 808 src/dps8/dps8_utils.h if (n >= 64) n 811 src/dps8/dps8_utils.h highmask = ~ ((~(uint64_t)0) << n); n 816 src/dps8/dps8_utils.h lowmask = ~ ((~(uint64_t)0) << n); n 821 src/dps8/dps8_utils.h * x = or_128 (and_128 (* x, notmask), and_128 (lshift_128 (val, 72 - p - n), mask)); n 823 src/dps8/dps8_utils.h word72 mask = ~ ((~(word72)0) << n); // n low bits on n 827 src/dps8/dps8_utils.h * x = (* x & ~mask) | ((val & MASKBITS72 (n)) << (72 - p - n)); n 834 src/dps8/dps8_utils.h static inline word18 getbits18 (word18 x, uint i, uint n) n 837 src/dps8/dps8_utils.h int shift = 17 - (int) i - (int) n + 1; n 840 src/dps8/dps8_utils.h sim_printf ("getbits18: bad args (%06o,i=%d,n=%d)\n", x, i, n); n 844 src/dps8/dps8_utils.h return (x >> (unsigned) shift) & ~ (~0U << n); n 849 src/dps8/dps8_utils.h static inline void putbits18 (word18 * x, uint p, uint n, word18 val) n 851 src/dps8/dps8_utils.h int shift = 18 - (int) p - (int) n; n 854 src/dps8/dps8_utils.h sim_printf ("putbits18: bad args (%06o,pos=%d,n=%d)\n", * x, p, n); n 857 src/dps8/dps8_utils.h word18 mask = ~ (~0U << n); // n low bits on n 861 src/dps8/dps8_utils.h * x = (* x & ~mask) | ((val & MASKBITS18 (n)) << (18 - p - n)); n 890 src/dps8/dps8_utils.h void print_int128 (int128 n, char * p); n 891 src/dps8/dps8_utils.h char * print_int128o (int128 n, char * p); n 112 src/dps8/hdbg.h # define HDBGFault(n, s, m, c) hdbgFault(n, s, m, c) n 353 src/dps8/segldr.c ssize_t n = write (fd, (void *) M, wrsz); n 354 src/dps8/segldr.c if (n != wrsz) n 382 src/dps8/segldr.c ssize_t n = read (fd, (void *) M, msize); n 383 src/dps8/segldr.c if (n < 1) n 399 src/dps8/segldr.c (unsigned long long) n, n 400 src/dps8/segldr.c (unsigned long long) (n / sizeof (word36)), n 401 src/dps8/segldr.c (unsigned long long) (n / sizeof (36) / 1024)); n 401 src/dps8/udplib.c ssize_t n = read (udp_links [link] . sock, ppkt, pktsiz); n 402 src/dps8/udplib.c if (n < 0) n 409 src/dps8/udplib.c return (int) n; n 98 src/dps8/utarray.h unsigned i, n; /* i: index of next available slot, n: num slots */ n 109 src/dps8/utarray.h if ((a)->n) { \ n 118 src/dps8/utarray.h (a)->n=0; \ n 132 src/dps8/utarray.h if (((a)->i+by) > ((a)->n)) { \ n 133 src/dps8/utarray.h while(((a)->i+by) > ((a)->n)) { (a)->n = ((a)->n ? (2*(a)->n) : 8); } \ n 134 src/dps8/utarray.h if ( ((a)->d=(char*)realloc((a)->d, (a)->n*(a)->icd.sz)) == NULL) oom(); \ n 85 src/simh/backtrace_func.c int n = strcmp(function, BACKTRACE_MAIN); n 86 src/simh/backtrace_func.c if (n == 0) n 10040 src/simh/scp.c size_t n, ilvl; n 10096 src/simh/scp.c n = uptr? uptr - dptr->units: 0; n 10097 src/simh/scp.c sprintf (buf, "%s%u", dptr->name, (int)n); n 10116 src/simh/scp.c n = 0; n 10118 src/simh/scp.c n += (n * 10) + (*htext++ - '0'); n 10120 src/simh/scp.c n == 0 || n >= VSMAX) { n 10125 src/simh/scp.c while (n > vsnum) /* Get arg pointer if not cached */ n 10127 src/simh/scp.c start = vstrings[n-1]; /* Insert selected string */ n 10176 src/simh/scp.c n = 0; n 10179 src/simh/scp.c n += (n * 10) + (*htext++ - '0'); n 10180 src/simh/scp.c if ((htext == start) || !n) { n 10185 src/simh/scp.c if (n <= topic->level) { /* Find level for new topic */ n 10186 src/simh/scp.c while (n <= topic->level) n 10190 src/simh/scp.c if (n > topic->level +1) { /* Skipping down more than 1 */ n 10213 src/simh/scp.c size_t n = 0; n 10216 src/simh/scp.c n += (n * 10) + (*start++ - '0'); n 10217 src/simh/scp.c if (!*start || *start == '\n'|| n == 0 || n >= VSMAX) { n 10222 src/simh/scp.c while (n > vsnum) /* Get arg pointer if not cached */ n 10224 src/simh/scp.c end = vstrings[n-1]; /* Check for True */ n 10264 src/simh/scp.c newt->level = n; n 10266 src/simh/scp.c n = strlen (newt->title); n 10267 src/simh/scp.c if (n > topic->kidwid) n 10268 src/simh/scp.c topic->kidwid = n; n 10270 src/simh/scp.c n = strlen (topic->label) + strlen (nbuf) + 1; n 10271 src/simh/scp.c newt->label = (char *) malloc (n); n 106 src/simh/scp.h # define GCC_FMT_ATTR(n, m) n 109 src/simh/scp.h # define GCC_FMT_ATTR(n, m) __attribute__ ((format (__printf__, n, m))) n 90 src/simh/sim_console.c # define nice(n) ({})