The node you are looking for is at gnat_rm/implementation_advice rm-a-10-7-23-get-immediate.