Sami Samhuri
ed1a3444c7
[CHANGED] Removed use of the LOOP instruction.
2009-06-26 11:37:45 -07:00
Sami Samhuri
448c47156e
[CHANGED] Factored out opcode group #3 (MUL, IMUL, DIV, IDIV, NEG, and NOT)
2009-06-26 11:25:10 -07:00
Sami Samhuri
0fbb366e9c
[NEW] Encode [esp] and [ebp] as [esp+0] and [ebp+0] using SIB and disp8 respectively.
2009-06-26 10:13:49 -07:00
Sami Samhuri
99ad11f724
[NEW] support for IMUL, IDIV, CDQ, and XCHG. big_test now passes as well.
2009-06-25 17:55:17 -07:00
Sami Samhuri
bc6a3d4d3b
[NEW] Binary assembler outputs working machine code and Mach-O object files that can be linked into working executables.
2009-06-25 09:42:56 -07:00
Sami Samhuri
47ce9043e4
[FIXED] print on Darwin ... probably still violates calling convention.
2009-05-25 17:18:58 -07:00
Sami Samhuri
a4506bab10
[NEW] First hints of cross-platform support. Compiles to Mach-O on Darwin with nasm and gcc.
...
There is no binary assembler support for Darwin yet! I'm not sure when I will dive into the details
of generating a Mach-O binary from Ruby or C.
[MERGED] Binary assembler support. It *should* work on ELF but it needs testing on Linux.
2009-05-25 16:26:21 -07:00
sjs
76d4d2be3a
[BUNK] moving to macbook, broken commit.
2009-05-24 20:29:17 -07:00