Unfortunately getValueStr() does not work with general purpose registers. Have a look here:
getValueStr()