3 ms·
> Looks like it's not emulating x86 at all, just interpreting assembly mnemonics as if they were BASIC. Wow. Reading the authors other comments, it sounds like
by jart 4y ago
> Looks like it's not emulating x86 at all, just interpreting assembly mnemonics as if they were BASIC.
Wow. Reading the authors other comments, it sounds like they couldn't find an assembler they liked for their operating system, and instead decided to spend their course building their own instead, as they imagined it would work. Stay away from this tool if your goal is to learn about 8086. This project is an 8086-inspired programming language.
- rep_lodsb 4y agoI was a bit disappointed too, but wouldn't be quite as negative: It is clearly a student project, intended to run very simple code and show how the registers and memory are affected. They did read the Intel manual, and most of the instructions seem to be implemented correctly including flag behaviour; for example the SBB AL,0x69 + DAS trick works. Generating and running actual machine code might well be "out of scope" for something like this.