Re: [9fans] 8086 Interpreter

2010-09-04 Thread Russ Cox
In theory, with these I would simply get a binary file from the assembly, which I could then run on, say, dosbox in 8086 mode in Windows? You'd get a raw file with instructions in it. It would be up to you to turn that into an appropriate executable. (If you renamed it foo.com that would

[9fans] 8086 Interpreter

2010-09-03 Thread Akshat Kumar
I've recently had the need for a very simple 8086 interpreter, with which I can do some assembly testing (so it should allow me to enter the basic opcodes and their operands, such as MOV AL, 0x21 etc.). I found 8i in contrib/rsc which seems to have been taken from aki's 8i, but that just seems

Re: [9fans] 8086 Interpreter

2010-09-03 Thread ron minnich
I've used bochs to do bios debugging. You have to enable a few things but you can get an assembly trace. Another option is qemu with a gdb port set up. The turnaround on assembling and running is fast enough that you may not really need an interpreter. ron

Re: [9fans] 8086 Interpreter

2010-09-03 Thread Akshat Kumar
On Fri, Sep 3, 2010 at 1:36 PM, Russ Cox r...@swtch.com wrote: I wrote 8i.  If you keep poking around in contrib/rsc you'll also find 86a and 86b which are different variants of an 8086 assembler. Ah, I'm sorry for miscrediting! I grabbed both 86a and 86b - it seems that some code is missing