* Change loop counters for terminal_send functions to use register variables.