1. A method comprising: mapping a plurality of exception masks in a source architecture to an exception mask in a target architecture; executing translated code in the target architecture, the translated code representing binary code in the source architecture; and determining a state for the source architecture if an exception is raised while executing the translated code.