An integrated approach to register binding and scheduling