Created
March 5, 2013 23:59
-
-
Save 0xc010d/5095551 to your computer and use it in GitHub Desktop.
Insert endp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pop = 0x5d | |
ret = 0xc3 | |
doc = Document.getCurrentDocument() | |
seg = doc.getCurrentSegment() | |
addr = doc.getCurrentAddress() | |
seg.writeByte(addr, pop) | |
seg.markAsCode(addr) | |
addr = addr + 1 | |
seg.writeByte(addr, ret) | |
seg.markAsCode(addr) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment