Added inline to register accesses