Author Topic: My Updated CPU Design: Hardware User Stack For Easy Subroutine Parameter Passing  (Read 827 times)

0 Members and 1 Guest are viewing this topic.

Offline mcsoftwareTopic starter

  • Contributor
  • Posts: 15
  • Country: us
    • MCSoftware
Hope this is the right subtopic/category...   I updated my CPU design (in Logisim now, but hopefully someday in an FPGA) by adding a hardware user stack to make subroutine parameter passing, local variables, and recursion easier (in addition to my previously added hardware call stack).  On the software side, I wrote a recursive factorial calculator to test this new stack, and improved my raytracer by making it fully recursive and adding refraction.  BTW, not shown in this video (but will be the subject of another video): I converted all the assembly language programs I wrote for my CPU design into x86 assembly.  Hope you enjoy this video:

 
The following users thanked this post: ebclr


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf