bitdefs 300 src/simh/scp.c void fprint_fields (FILE *stream, t_value before, t_value after, BITFIELD* bitdefs); bitdefs 9569 src/simh/scp.c void fprint_fields (FILE *stream, t_value before, t_value after, BITFIELD* bitdefs) bitdefs 9574 src/simh/scp.c for (fields=offset=0; bitdefs[fields].name; ++fields) { bitdefs 9575 src/simh/scp.c if (bitdefs[fields].offset == 0xffffffff) /* fixup uninitialized offsets */ bitdefs 9576 src/simh/scp.c bitdefs[fields].offset = offset; bitdefs 9577 src/simh/scp.c offset += bitdefs[fields].width; bitdefs 9580 src/simh/scp.c if (bitdefs[i].name[0] == '\0') bitdefs 9582 src/simh/scp.c if ((bitdefs[i].width == 1) && (bitdefs[i].valuenames == NULL)) { bitdefs 9583 src/simh/scp.c int off = ((after >> bitdefs[i].offset) & 1) + (((before ^ after) >> bitdefs[i].offset) & 1) * 2; bitdefs 9584 src/simh/scp.c Fprintf(stream, "%s%c ", bitdefs[i].name, debug_bstates[off]); bitdefs 9588 src/simh/scp.c mask = 0xFFFFFFFF >> (32-bitdefs[i].width); bitdefs 9589 src/simh/scp.c value = (uint32)((after >> bitdefs[i].offset) & mask); bitdefs 9590 src/simh/scp.c beforevalue = (uint32)((before >> bitdefs[i].offset) & mask); bitdefs 9595 src/simh/scp.c if (bitdefs[i].valuenames) bitdefs 9596 src/simh/scp.c Fprintf(stream, "%s=%s%s ", bitdefs[i].name, delta, bitdefs[i].valuenames[value]); bitdefs 9598 src/simh/scp.c if (bitdefs[i].format) { bitdefs 9599 src/simh/scp.c Fprintf(stream, "%s=%s", bitdefs[i].name, delta); bitdefs 9600 src/simh/scp.c Fprintf(stream, bitdefs[i].format, value); bitdefs 9604 src/simh/scp.c Fprintf(stream, "%s=%s0x%X ", bitdefs[i].name, delta, value); bitdefs 9614 src/simh/scp.c BITFIELD* bitdefs, uint32 before, uint32 after, int terminate) bitdefs 9621 src/simh/scp.c fprint_fields (sim_deb, (t_value)before, (t_value)after, bitdefs); /* print xlation, transition */ bitdefs 9627 src/simh/scp.c void sim_debug_bits(uint32 dbits, DEVICE* dptr, BITFIELD* bitdefs, bitdefs 9630 src/simh/scp.c sim_debug_bits_hdr(dbits, dptr, NULL, bitdefs, before, after, terminate); bitdefs 202 src/simh/scp.h BITFIELD* bitdefs, uint32 before, uint32 after, int terminate); bitdefs 203 src/simh/scp.h void sim_debug_bits (uint32 dbits, DEVICE* dptr, BITFIELD* bitdefs,