IndepenDance Day

x86-Like CPU

The final project for my computer organization class was to create a y86 CPU, which is a reduced version of x86.

    halt - Ends the program.
  • nop - Bubbles for a single cycle.
  • irmovq - Moves a constant to a register.
  • rrmovq - Moves the values of one register to another.
  • rmmovq - Moves a value from memory to a register.
  • mrmovq - Moves a value from a register to memory.
  • pushq - Push a register to the stack.
  • popq - Pop the top of the stack to a register.
  • OPq - Perform an operation between two registers.
  • jXX - Jump with or without a condition.