Skip to content

Instantly share code, notes, and snippets.

Created March 5, 2013 23:59
What would you like to do?
Insert endp
pop = 0x5d
ret = 0xc3
doc = Document.getCurrentDocument()
seg = doc.getCurrentSegment()
addr = doc.getCurrentAddress()
seg.writeByte(addr, pop)
addr = addr + 1
seg.writeByte(addr, ret)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment