All pastes #473381 Raw Edit

Mine

public text v1 · immutable
·published 2007-05-06 06:11 UTC
rendered paste body
for every instruction {
   if (instanceof *load && getIndex() == 1) setIndex(2);
   if (instanceof *load && getIndex() == 2) setIndex(1);
   if (instanceof *store && getIndex() == 2) setIndex(1);
   if (instanceof *store && getIndex() == 1) setIndex(2);
}