Hades logoHades applet banner
1-address datapath (accumulator and ALU)

applet icon

The image above shows a thumbnail of the interactive Java applet embedded into this page. Unfortunately, your browser is not Java-aware or Java is disabled in the browser preferences. To start the applet, please enable Java and reload this page. (You might have to restart the browser.)

Circuit Description

This applet demonstrates a typical accumulator-based microprocessor 1-address datapath.

Many early computers and most 8 bit microprocessors use an accumulator architecture, where the central accumulator register is used both as the target and as one source operand for arithmetic and logic instructions, while the other source operarand (if any) is provided by the main memory. From the point of hardware designs, this architecture has two advantages. First, only one register is required, and it can be located right near to the ALU which keeps wire-lengths short and guarantees high clock-rates (for the ALU/accumulator block). Second, no additional adress bits are required in the instruction words, which is especially helpful on short (16 bit lor lower) instructions. The obvious disadvantage is that typical 2-address or 3-address operations like C = A + B have to be split into multiple individual operations (accu = A, accu = accu + B, C = accu).

The applet uses on user-configurable ALU, one standard D-type register for the accumulators, and a standard RAM for the main memory. All control inputs are driven by input switches (Ipin and IpinVector); these would be driven by other functional units and the control-unit in a real microprocessor system.

Try to execute a few arithmetical and logical operations on this datapath!

Print version | Run this demo in the Hades editor (via Java WebStart)
Usage | FAQ | About | License | Feedback | Tutorial (PDF) | Referenzkarte (PDF, in German)
Impressum http://tams.informatik.uni-hamburg.de/applets/hades/webdemos/50-rtlib/80-datapath/accu-datapath.html