I propose something akin to:
itm.configure(ITMConfiguration {
// ...
stim: Stimulus::EnableAll
}
itm.configure(ITMConfiguration {
// ...
stim: Stimulus::EnableSome([0..5, 8..31]),
}
Better review iprint and iprintln and see if they make any assumptions about the registers.