Welcome to Cel Labs!

We've got some tasks lined up for you. I've left an 8041 microprocessor on your desk. This thing is state of the art.

  1. Choose a task by typing its name into the left modem.
  2. Connect your 8041 to the modems by clicking on the ports
  3. Write a program to solve the task. Consult your x67 Assembly Programming Manual for this.
8041
Assembly
Programming
Manual
8041
Assembly
Programming
Manual
Copyright © 1971, 1972 Simpel Corporation

Contents


  1. Concepts
    • Values
  2. Instruction Set

Concepts

Features

The 8041 microprocessor features the following components:

  • Two ports for input and output
  • One register for holding intermediate values
  • A display for editing code and observing its execution

Instruction Set

Basic

nop

This instruction does nothing.

mov <src> <dst>

Reads the value at <src> and writes it to <dst>.

Arithmetic

add <src> <dst>

Reads the value at <src> and adds it to the value at <dst>. This both reads and writes <dst>, so if <dst> is a port then this

instruction will require both a value to be written to the port and a value to then be read from the port.

The rest of the arithmetic instructions follow a similar pattern, using <src> to update <dst>.

sub <src> <dst>

Subtracts <src> from <dst>.

simpel

SIMPEL CORPORATION, 3065 Bowers Avenue, Santa Clara, CA 95051 (617) 615-1613
more from Aaron

Tasks

cp

  • Reward: 1¢

The materials research group just bought some new tapes and they need help copying over their data. You can read the old tape through the `req` port, and then just write it as is to the `res` port. Should be a nice easy task to help you calibrate your equipment.

add

  • Reward: 10¢

The nuclear research group is running some simulations and they need help with compute. They'll write two numbers to `req` and they just need you to add them up and write the sum to `res`.

mul

  • Reward: 1$

They need help with multiplication too. This one's a little harder because your 8041 doesn't have a built in instruction to multiply two numbers. You're gonna have to implement the arithmetic yourself. I hear rumours that Simpel is gonna have a `mul` instruction on their next chip...

cp

  • Reward: 1¢

We need your help copying over some data. Just read the data from `req`, and then copy it as is into `res`. Should be a nice easy task to help you calibrate your equipment.

Microwave
Shed

Electronics Catalog – Fall 1972

The 8067 Microcomputer is going to blow. your. mind.

This bad boy is gonna knock your god damn socks off. Do you have any idea how many frickin transistors are in this thing? Yeah didn't think so. I'll tell you this much: it's a lot. And that's putting it nicely.

You know the 8041? Remember how you have to mash the step button to make it run? Didn't that suck? Well guess what. The 8067? Has a clock. 0.25 motherflipping hertz. You just leave the room and grab yourself a Coke, and by the time you get back your algorithm will be done*.

Features 8041 8067 8069
Clock n/a 0.25 Hz 1 Hz
Registers 1 1 2
Ports 2 2 2
Program memory 8 lines 8 lines 10 lines

8069

Features:
  • 1 Hz clock
  • Two ports
  • Ten lines of program memory
  • Two registers