Small8 Computer Labs
EL 4712 – Fall 2011
The objective of this “mini-project” is to design, simulate, and implement a very simple computer,
called Small8. Small8 consists of an 8-bit processor (with a 64K address space), a RAM, and I/O ports.
Other related files:
(available on the EEL4712 Web site)
Small8InstructionSetPage1.pdf and Small8InstructionsAddendum.pdf
TestPackage.zip: contains a set of test programs and programs required to assemble an assembly
source code program into a .mif file.
TestCase1.asm, TestCase1.mif – source code and .mif file to test LDAA, STAA, STAR, ANDR,
TestCase2.asm, TestCase2.mif – source code and .mif to test LDAI, CLRC, RORC, DECA, BNE.
TestCase3.asm – source code to test index addressing. You have to obtain the .mif file yourself.
mult.asm, mult.mif – a comprehensive test program (multiplication) in source code and .mif file.
As discussed in class, this is essentially a “mini-project”.
It will be worth 800 points, 4 times a
regular lab (Since a lab is worth 200 points).
The grading is based on the completion of a list of
“deliverables”. When completed, each deliverable will earn the student some amount of points (toward the
800 total points). The list of deliverables, their due dates, and their worth in points will be described later.
General architecture for the Small8 computer:
The Small8 computer has:
An 8-bit processor (CPU) with 8-bit data registers and data bus and a 64K address space (16-bit
A memory module
An input port and an output port (similar to those implemented in Lab 7), with the following addresses:
e.g., LDAA $FFFE means A
e.g., STAA $FFFE means OUTPORT0
Figure 1. Overall architecture of the Small8 computer.