bitdefs           385 src/simh/scp.c void fprint_fields (FILE *stream, t_value before, t_value after, BITFIELD* bitdefs);
bitdefs          10380 src/simh/scp.c void fprint_fields (FILE *stream, t_value before, t_value after, BITFIELD* bitdefs)
bitdefs          10385 src/simh/scp.c for (fields=offset=0; bitdefs[fields].name; ++fields) {
bitdefs          10386 src/simh/scp.c     if (bitdefs[fields].offset == 0xffffffff)       /* fixup uninitialized offsets */
bitdefs          10387 src/simh/scp.c         bitdefs[fields].offset = offset;
bitdefs          10388 src/simh/scp.c     offset += bitdefs[fields].width;
bitdefs          10391 src/simh/scp.c     if (bitdefs[i].name[0] == '\0')
bitdefs          10393 src/simh/scp.c     if ((bitdefs[i].width == 1) && (bitdefs[i].valuenames == NULL)) {
bitdefs          10394 src/simh/scp.c         int off = ((after >> bitdefs[i].offset) & 1) + (((before ^ after) >> bitdefs[i].offset) & 1) * 2;
bitdefs          10395 src/simh/scp.c         (void)Fprintf(stream, "%s%c ", bitdefs[i].name, debug_bstates[off]);
bitdefs          10399 src/simh/scp.c         mask = 0xFFFFFFFF >> (32-bitdefs[i].width);
bitdefs          10400 src/simh/scp.c         value = (uint32)((after >> bitdefs[i].offset) & mask);
bitdefs          10401 src/simh/scp.c         beforevalue = (uint32)((before >> bitdefs[i].offset) & mask);
bitdefs          10406 src/simh/scp.c         if (bitdefs[i].valuenames)
bitdefs          10407 src/simh/scp.c             (void)Fprintf(stream, "%s=%s%s ", bitdefs[i].name, delta, bitdefs[i].valuenames[value]);
bitdefs          10409 src/simh/scp.c             if (bitdefs[i].format) {
bitdefs          10410 src/simh/scp.c                 (void)Fprintf(stream, "%s=%s", bitdefs[i].name, delta);
bitdefs          10411 src/simh/scp.c                 (void)Fprintf(stream, bitdefs[i].format, value);
bitdefs          10415 src/simh/scp.c                 (void)Fprintf(stream, "%s=%s0x%X ", bitdefs[i].name, delta, value);
bitdefs          10425 src/simh/scp.c     BITFIELD* bitdefs, uint32 before, uint32 after, int terminate)
bitdefs          10432 src/simh/scp.c     fprint_fields (sim_deb, (t_value)before, (t_value)after, bitdefs); /* print xlation, transition */
bitdefs          10438 src/simh/scp.c void sim_debug_bits(uint32 dbits, DEVICE* dptr, BITFIELD* bitdefs,
bitdefs          10441 src/simh/scp.c sim_debug_bits_hdr(dbits, dptr, NULL, bitdefs, before, after, terminate);
bitdefs           204 src/simh/scp.h     BITFIELD* bitdefs, uint32 before, uint32 after, int terminate);
bitdefs           205 src/simh/scp.h void sim_debug_bits (uint32 dbits, DEVICE* dptr, BITFIELD* bitdefs,