wave.h uses defines for regs, rewrote header.s to handle registers as data instead of the stack