POV-Ray : Newsgroups : povray.off-topic : The computer project : Re: The computer project Server Time
4 Sep 2024 21:21:37 EDT (-0400)
  Re: The computer project  
From: clipka
Date: 13 Jun 2010 10:13:08
Message: <4c14e774$1@news.povray.org>
Am 13.06.2010 12:44, schrieb Orchid XP v8:
> ...so anybody have anything to say about the design itself? ;-)

* Did you think about how to implement a stack (and subroutine calls)?

* The address space is not only piffling, but outright insufficient, 
especially given the limited instruction set; some things you could do 
about it:

- As your commands are all 2 bytes wide, you can require that they be 
16-bit aligned, so you can increase address space available for programs 
to 512 bytes (=256 instructions).

- You could further increase the total address space by separating code 
from data (Harvard architecture), using two separate "Read" control 
lines. (The CPU could still easily be used in von-Neumann-Mode by ORing 
the two "Read" lines externally.)


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.