1. A method of grouping subject code during a translation of subject code into translated target code to account for self-modifying subject code, comprising: identifying self-modifying code events in said subject code during translation of subject code into translated code and also during subsequent execution of translated code; and dividing a region of memory containing said subject code into at least one subject instruction group of subject addresses when identifying a self-modifying code event, wherein each subject instruction group includes one or more ranges of subject code addresses in said memory which are affected by a respective self-modifying code event.