CPU SIMULATOR

Brandon(Zoobob5) - Oct 10 - - Dev Community

I was given the task of making a program or code of sorts that mimics how a CPU would work. I was really confusing to start it off with because it was a fairly short topic but I think it worked out okay and was a lot more simple than i thought. I put it in my GitHub below.

examples of then outputs and there many of them:
Image description

ADD: $r3 = $r1 + $r2 -> 15
Program Counter (PC): 3
Registers:
$r0: 0
$r1: 5
$r2: 10
$r3: 15
$r4: 15
$r5: 10

https://github.com/Zoobob5/CPU-Simulator

. . .
Terabox Video Player