Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

/PROG/ Challenge Number 8 - Virtual Machine

Name: Anonymous 2007-10-09 18:31

Make virtual machine and compiler for the following instruction set.

LOD - Load into accumulator
STR - Store into memory
ADD - Add acc+mem
NEG - accumulator=accumulator*-1
INP - Input number to accumulator
OUT - Output
JMP - Jump to memory location
JNZ - Jump if accumulator non zero

If you do this, I WILL be impressed.

Name: Anonymous 2007-10-10 7:42

>>20
my point exactly, /prog/ is saturated with EXPERT PROGRAMMERS discussing ''ABSTRACT BULLSHITE``, not writing silly little compilers (I wrote an ANSI C compiler when I was 12).

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List