added assembly flag check for printing origin directive in pic_print