Set asi/agsi overflow code properly in simulator