add way to read instruction pointer register.