Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

disassembler in Lisp

Name: Anonymous 2010-12-22 3:26


"8b 04 9b b8 01 00 00 00 90".split |> map asBase,16,? |> x86deasm
((mov eax [ebx+4*ebx]) (mov eax 1) (nop))

Name: Anonymous 2010-12-22 17:51

>>29
Ah, okay, makes sense... so something like '(deref (pp+ ebx (pp* 4 ebx))) and have the prettyprinter catch deref or [/m]pp+[/m], [/m]pp-[/m] (or maybe just make that into +/* and only have the preporcessor catch the dereference symbol).

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List