clib: move REG to the stack frames