Skip to content

Intel 8086 intstruction decoder and emulator

License

Notifications You must be signed in to change notification settings

hchaumont/zig-8086

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zig-8086

Intel 8086 instruction decoder and emulator written as an exercise to learn Zig. Given a binary input file representing Intel 8086 instructions, will output the decoded assembly instructions. Can optionally also emulate running instructions and inspect register and flag state.

Encodings based on the information in Intel 8086 Family User's Manual.

Usage

To build:

zig build

To run:

./decoder FILENAME [execute]

The optional parameter execute will emulate running the input file.

About

Intel 8086 intstruction decoder and emulator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages