resource reference and immediate