CPU Microprocessor
0 Stars     13 Views    

Author: Samiran Konwar

Forked from: Bethany/CPU Microprocessor

Project access type: Public

Description:

Working CPU with eight 8-bit registers and eleven commands. Instructions in the project, command list below.

Commands:

LDA r - loads value from register r into accumulatorSTA r - stores accumulator value in register rCLR r - clears register rINC r - increments the value of register r and replaces into rDEC r - decrements the value of register r and replaces into rCOM r - stores the complement of the value in register r in the accumulatorADD r - adds value in register r to the accumulatorSUB r - subtracts accumulator value from value in register r, replaces into accumulatorAND r - stores value of (accumulator AND r) in accumulatorIOR r - stores value of (accumulator OR r) in accumulator [inclusive or]XOR r - stores value of (accumulator XOR r) in accumulator [exclusive or]

*Eight 8-bit registers: r must be a value between 0 and 7 and refers to the address of the register, not its contents*

Created: Mar 16, 2021

Updated: Apr 05, 2021

Copied to Clipboard!

Comments

You must login before you can post a comment.