core: implementing stall and data forwarding