File:CARDIAC emulator running power of two program.gif
Summary
Description |
English: A CARDIAC emulator in Python (see code below; requires PyGame) running a power of two program. Memory contents are shown in green with the current program counter in yellow. Program output is in white on the right side. At the bottom, the current program counter (PC), accumulator (AC), instruction (INST), and program step (STEP) are printed. The program runs for 277 steps and outputs 1, 2, 4, 8, 16, 32, 64, 128, 256, and 512. (The subroutine at location 80 prints the current value: Memory location 86 holds the next value to be printed by the output command in location 83. Location 90 has a subroutine to double the value.) The font used is Courier Prime. |
||
Date | |||
Source | Own work | ||
Author | Morn | ||
GIF development | |||
Source code | Python code
|
Licensing
I, the copyright holder of this work, hereby publish it under the following license:
![]() ![]() |
This file is made available under the Creative Commons CC0 1.0 Universal Public Domain Dedication. |
The person who associated a work with this deed has dedicated the work to the public domain by waiving all of their rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.
|
Category:Animated GIF files between 50 MP and 100 MP
Category:CARDboard Illustrative Aid to Computation
Category:CC-Zero
Category:Courier (font)
Category:Emulation software
Category:PNG created with Python code
Category:Powers of two
Category:Programming education
Category:Pygame
Category:Self-published work