Advertisement
Guest User

Untitled

a guest
Dec 20th, 2014
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.25 KB | None | 0 0
  1. int currentaddr; // addr of the first intruction in the window now
  2.  
  3. int newaddr = currentaddr;
  4.  
  5. while (true)
  6. {
  7.     int bytestoadvance;
  8.     Disassemble(newaddr, out bytestoadvance);
  9.     if (newaddr + bytestoadvance == currentaddr)
  10.         break;
  11.     newaddr--;
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement