m1dugh / 8086-emulator

An Intel 8086 emulator in C as part of a university project.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#Intel 8086 Disassembler

##How to use ?

###Building

  • Prod build
$ make
  • Debug build
$ make debug

###Running

  • Running prod binary
$ ./bin/Release/mmvm -d <file_to_disassemble>
$ ./bin/Release/mmvm <file_to_execute>
  • Running debug binary
$ ./bin/Debug/mmvm.debug -d <file_to_disassemble>
$ ./bin/Debug/mmvm.debug <file_to_execute>

About the code

The instructions are first parsed into a structure, and bound to a callback (implemented in ./src/instructions/implementation/), and are then ran all with the same argument.

The main structure of the program is the emulator that provides encapsulation for all the emulated componenents like memory segments and processor. All the structures can be found in ./src/models/.

About

An Intel 8086 emulator in C as part of a university project.

License:GNU General Public License v3.0


Languages

Language:C 97.2%Language:Makefile 1.7%Language:Nix 1.1%