Skip to content

herocharge/8-bit-processor

Repository files navigation

8 bit processor

I am trying to recreate the intel 8080 processor virtually, the goal is to just be able to process the opcodes and simulate the memory in an array or smtg

Following this: https://web.archive.org/web/20180517181048/http://nemesis.lonestar.org/computers/tandy/software/apps/m4/qd/opcodes.txt

Trying to do this essentially - https://github.com/tdinucci/6502-emulator/ but for i8080 // Dont ask why

Usage

In main.cpp, feed the instructions as hex in the instructions vector and then

$ make all $ ./a.out

Goal:

  • simulate a processor?
  • Make a processor + memory + minimal i/o support

Notes

  • opcodes
  • memory
  • cpu
  • registers

// 7 6 5 4 3 2 1 0 // S Z 0 A 0 P 1 C

// S - Sign Flag
// Z - Zero Flag
// 0 - Not used, always zero
// A - also called AC, Auxiliary Carry Flag
// 0 - Not used, always zero
// P - Parity Flag
// 1 - Not used, always one
// C - Carry Flag

About

I am trying to make an emulator based on intel 8080

Resources

Stars

Watchers

Forks

Languages