segment and stack instructions fix