[sim] cleaned up handling of link register