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-11 13:24

>>39
HAHAHAHAHAHAHAHHAHAHAHAAHAHAAAA!!!
you think your funny huh?

Name: Anonymous 2007-10-11 16:07

>>40
Make sure to go slow so you will suffer the must amount of pain for the longest period of time.
suffer the must amount of pain
must

Name: Anonymous 2007-10-11 16:28

>>40

That's debatable.

Name: Anonymous 2007-10-11 16:32

>>42
Make sure to go slow so you will suffer the must amount of pain for the longest period of time.
suffer the must amount of pain
must

Name: Anonymous 2007-10-11 16:35

>>40
>>41
Internet Tough Programmer.

Name: Anonymous 2007-10-11 16:38

Don't forget the ‫‬‭‮‪‫‬‭‮҉‬‬‬‬ operator.

Name: Anonymous 2007-10-12 20:10

>>46
Thats a pretty usefull opertater...

Name: Anonymous 2007-10-12 20:25

>>44
Must, as in force. Force is not always a bad thing.

Name: Anonymous 2007-10-13 0:35

Name: Anonymous 2007-10-13 0:36

50 GET

Name: Anonymous 2011-02-10 5:21

>>39
omg ur so right!! /prog/s full of faggots

Name: Anonymous 2011-02-10 8:47

i like this challenge, and will create a new challenge based on this one.

Name: Anonymous 2011-02-10 9:11

>>54
the challenge won't be to write a VM, the challenge will be to write a program in it. the program will control a robot in a battle to the death.

Name: Anonymous 2011-02-10 9:36

>>56
im not sure about making the VM too esoteric, ideally it would be reasonably easy to program in it.

im thinking of instructions to operate the engines (move and turn), sensors (copy input into memory somewhere) and actuator (interact with environment)..

Name: Anonymous 2011-02-10 9:41

What are the specifications of OUT, does it print the value of the accumulator?

Name: Anonymous 2011-02-10 9:46

>>58
outputs number->ascii-char(accumulator)

Name: Anonymous 2011-02-10 9:48

>>59

What an insanely ridiculous instruction, so you only get information from 8 bits?

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