Implement the "chain" instruction