8086-Emulator
8086-Emulator copied to clipboard
An Intel 8086 Emulator created in Rust.
Hi, can you help to make to software web interface for my BLIND student to program on 8086 ? Miguel
This PR fixes #16 by retrieving the result from `res` instead of the previous value of AL and fixes #22 by using proper integer casting
`start: ;JG, JGE Bug: MOV AX, 20 MOV BX, -10 CMP AX, BX JG AX_GREATER_THAN_BX ;JG, JGE is for signed numbers MOV AX, 0 ;But no jump made AX_GREATER_THAN_BX: ;Must...
As from a mail received : >start: MOV AL, 0xF9 (-7) MOV BL, 0x02 (2) IMUL BL >It gives the result of 01F2. This answer is the result of unsigned...
`inputBufferSize: DB 64 inputBufferAddr: DW 10 start: ;Input string MOV DI, word inputBufferAddr ; DI ← 10 MOV BL, byte inputBufferSize MOV byte [DI], BL;offset inputBufferSize ;[10] ← 64 MOV...
Hi, I try to compile perfectly valid code with a procedure call, but I get this weird message: **Syntax Error at 27:0 : call f1 : 'call' can be only...
Normally `next` will print the instruction about to be executed, but for some instructions (maybe the "singleton data" family?) it prints the following one instead. (It does seem to execute...
Currently the overall architecture of this is acceptable, but pretty hideous. The choices were made for various different (not necessarily correct) reasons at the time when this was written, but...
With ds = 0, `mov word [0xffff], 0xbeef` should write bytes `0x0ffff` and `0x00000`: the offset should wrap around but not propagate its carry. Instead it writes `0x0ffff` and `0x10000`....