Kotlin app / Android
8086 Studio.
An 8086 assembly emulator for students of microprocessors. Write a program, run it one instruction at a time, and read in plain words what each instruction did.
Screenshots
What you get
Editor made for a phone
Line numbers, assembly colouring and extra keys for the symbols assembly needs. A two-pane layout on tablets.
Run, step and step back
Run the whole program, run one instruction, or undo the last one to see it again. Stop a program that is still running.
Breakpoints and Step over
Tap a line number and Run stops there. Over runs a whole CALL and stops on the line after it.
Every step explained
Read what the instruction did, which registers changed, and the old and new values.
Every mistake at once
All the lines that need a fix are listed, each with what is wrong and how to fix it.
Machine code listing
See the address of every line and the bytes it became, and share the listing for a lab report.
Data, memory and stack
Your variables by name, any part of memory with bytes you can change, and what PUSH, POP, CALL and RET put on the stack.
Ports and interrupts
OUT lights LEDs and IN reads switches you can flip while the program runs. Write an interrupt handler and trigger it with the INTR or NMI button.
Trainer kit
A hex keypad and display like the kit in a microprocessor lab: key in machine code, examine memory and registers, run or single-step.
Console
Shows the text your program prints and takes the keys and lines it asks for.
25 examples
Arithmetic, loops, arrays and strings, procedures and the stack, keyboard and screen, ports and interrupts.
My programs
Save programs by name, open .asm files from your phone and share your code.
Reference and converter
What each instruction does and the flags it changes; hex, binary, decimal and BCD; segment:offset to physical address.
A real assembler and CPU
The app assembles your source into real 8086 machine code and runs those bytes, so what you see is what the processor does. It supports the instructions taught in a first microprocessor course, including string instructions, IN and OUT, the decimal adjust instructions, INT and IRET, the common INT 21h, INT 10h and INT 16h services, and both .MODEL SMALL and ORG 100h programs.
It works offline and needs no account. Your programs are kept on your device. Every feature is free. The app shows a small banner advert below the work area, which one optional purchase removes.
Macros, INCLUDE files such as emu8086.inc and the 8255, 8253 and 8259 chips are not included yet. If your program needs something that is missing, write to [email protected] and tell me what.