regs and stack