bitdefs 300 src/simh/scp.c void fprint_fields (FILE *stream, t_value before, t_value after, BITFIELD* bitdefs); bitdefs 9803 src/simh/scp.c void fprint_fields (FILE *stream, t_value before, t_value after, BITFIELD* bitdefs) bitdefs 9808 src/simh/scp.c for (fields=offset=0; bitdefs[fields].name; ++fields) { bitdefs 9809 src/simh/scp.c if (bitdefs[fields].offset == 0xffffffff) /* fixup uninitialized offsets */ bitdefs 9810 src/simh/scp.c bitdefs[fields].offset = offset; bitdefs 9811 src/simh/scp.c offset += bitdefs[fields].width; bitdefs 9814 src/simh/scp.c if (bitdefs[i].name[0] == '\0') bitdefs 9816 src/simh/scp.c if ((bitdefs[i].width == 1) && (bitdefs[i].valuenames == NULL)) { bitdefs 9817 src/simh/scp.c int off = ((after >> bitdefs[i].offset) & 1) + (((before ^ after) >> bitdefs[i].offset) & 1) * 2; bitdefs 9818 src/simh/scp.c Fprintf(stream, "%s%c ", bitdefs[i].name, debug_bstates[off]); bitdefs 9822 src/simh/scp.c mask = 0xFFFFFFFF >> (32-bitdefs[i].width); bitdefs 9823 src/simh/scp.c value = (uint32)((after >> bitdefs[i].offset) & mask); bitdefs 9824 src/simh/scp.c beforevalue = (uint32)((before >> bitdefs[i].offset) & mask); bitdefs 9829 src/simh/scp.c if (bitdefs[i].valuenames) bitdefs 9830 src/simh/scp.c Fprintf(stream, "%s=%s%s ", bitdefs[i].name, delta, bitdefs[i].valuenames[value]); bitdefs 9832 src/simh/scp.c if (bitdefs[i].format) { bitdefs 9833 src/simh/scp.c Fprintf(stream, "%s=%s", bitdefs[i].name, delta); bitdefs 9834 src/simh/scp.c Fprintf(stream, bitdefs[i].format, value); bitdefs 9838 src/simh/scp.c Fprintf(stream, "%s=%s0x%X ", bitdefs[i].name, delta, value); bitdefs 9848 src/simh/scp.c BITFIELD* bitdefs, uint32 before, uint32 after, int terminate) bitdefs 9855 src/simh/scp.c fprint_fields (sim_deb, (t_value)before, (t_value)after, bitdefs); /* print xlation, transition */ bitdefs 9861 src/simh/scp.c void sim_debug_bits(uint32 dbits, DEVICE* dptr, BITFIELD* bitdefs, bitdefs 9864 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,