views:

45

answers:

2

I mean something like a regular expression tester.

I could input the machine code and the software could verify/disassemble it to see whether the code is correct/what does the code represent.

I could also input the assembly and the software could also verify/assemble it to machine code.

It should have a GUI interface and run under Windows.

A: 

OllyDbg has a disassmbler and assembler. And also aalows you to edit bytes (machine code). And it's free.

Max
@Max: I have tried it before, it not simple enough for me.
Jichao
I believe of all the tools of this kind it's the simplest. The disassembler is shown after you load executable. To assemble some code you just start typing in CPU window. To edit bytes you press Ctrl-E.
Max
OllyDbg definitely is the best choice for what you want
jyzuz
+1  A: 

gcc or gnu assembler (as) will assemble the code for syntax, very quick to check. then objdump to disassemble if you want to see the opcodes or whatever.

dwelch