changed intravm to support generic addresses