Pin offset calculation. Here is the algorithm from IBM Website: I am not sure about the...