Browse Search Popular Register Upload Rules User list Login:
Search:
Real Working Programmable Microprocessor

Image:
screenshot of the scene

Author: Enthar Neurator

Group: Default

Filesize: 46.22 kB

Date added: 2010-07-12

Rating: 7.8

Downloads: 1583

Views: 1997

Comments: 18

Ratings: 11

Times favored: 2

Made with: Algodoo before v1.8.5

Tags:

Scene tag

Neurator Microprocessor
NMP v1.2b

A real programable microprocessor. Comes with Fibonacci Numbers Generator example.

IMPORTANT:
*******************
*Press 'R' to initialize.*
*******************

In this scene the microprocessor is programmed to generate Fibonacci Numbers (1,1,2,3,5,8,13,21,34,55,89,144...)

http://en.wikipedia.org/wiki/Fibonacci_number

Just press play and then press 'R'. It lasts a few seconds to start generating numbers.

If you have worked with microprocessors such as PIC you will better understand this scene. Now the microprocessor comes with just a basic set of commands, but I intend do increase the number of them in the future to make it able to execute much more elaborated programs.

Please tell me if it works fine to you! :)

PS:
If anyone is interested on how this program looks like here it is:

[["pcreset", 0], ["movex", 0], ["mstat", 0], ["mreset", 1], ["mreset", 0], ["add", 0], ["movex", 1], ["mpos", 0], ["mstat", 2], ["mstat", 0], ["movex", 1], ["mpos", 1], ["mstat", 2], ["mstat", 0], ["pcreset", 0], ["mpoint", 0], ["mpos", 0], ["mstat", 1], ["mstat", 0], ["mpoint", 1], ["mpos", 1], ["mstat", 1], ["mstat", 0], ["addyz", 0], ["mpos", 2], ["mstat", 2], ["mstat", 0], ["mpos", 1], ["mpoint", 0], ["mstat", 1], ["mstat", 0], ["movey", 0], ["mpos", 0], ["mstat", 2], ["mstat", 0], ["mpos", 2], ["mpoint", 0], ["mstat", 1], ["mstat", 0], ["movey", 0], ["mpos", 1], ["mstat", 2], ["mstat", 0], ["pcont", 14], ["pcreset", 1], ["pcont", 0], ["pcreset", 1]]

It can drive you nuts if you have to write it that way lol, so I made a piece of program to make this task a little easier. This is how the program looks like:

begin

movex 1
mpos 0
write
movex 1
mpos 1
write

#start
mpoint 0
mpos 0
read
mpoint 1
mpos 1
read
addyz
mpos 2
write

mpos 1
mpoint 0
read
movey
mpos 0
write

mpos 2
mpoint 0
read
movey
mpos 1
write
goto #start

end

If anyone is also interested (I sincerely doubt so :lol: :bonk: ), I could explain more deeply about how to program this microprocessor.
Last edited at 2010/07/12 10:21:46 by Enthar Neurator
Please log in to rate this scene
edit
Similar scenes
Title: Programmable Microprocessor & A/D Conversor
Rating: 6.1111
Filesize: 19.89 kB
Downloads: 729
Comments: 5
Ratings: 3
Date added: 2010/08/04 17:29:10
Made with: Algodoo before v1.8.5
Rating: rated 6.1
download
Title: Jack In The Box Ultimate Machanism
Rating: 5
Filesize: 85.39 kB
Downloads: 634
Comments: 1
Ratings: 1
Date added: 2016/05/12 04:28:31
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Brik v0.5 (INSTRUCTIONS ADDED)
Rating: 5
Filesize: 98.66 kB
Downloads: 1055
Comments: 24
Ratings: 1
Date added: 2020/07/13 04:27:36
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Microwave with working time
Rating: 5
Filesize: 73.77 kB
Downloads: 4751
Comments: 11
Ratings: 1
Date added: 2015/11/16 15:23:45
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: My real steam engine
Rating: 6.1111
Filesize: 0.56 MB
Downloads: 2817
Comments: 3
Ratings: 3
Date added: 2012/01/06 10:57:04
Made with: Algodoo v2.0.0 Edu
Rating: rated 6.1
download
Title: Working Oil Well
Rating: 5
Filesize: 35.68 kB
Downloads: 2937
Comments: 4
Ratings: 1
Date added: 2014/07/13 18:42:56
Made with: Algodoo v2.1.0
Rating: rated 5
download
o_o
Last time I checked this was a physics game...
pretty cool. why don't you try real "asm" syntax... ?
Well, assembly was my first thought, but translating it to this "machine code" would take some work, and I'm lazy :lol: so I decided to make a lower level language adapted to the microprocessor's architecture.
hablas español?? veo que has puesto los scripts en español
Sí!! :lol: soy de España, a veces uso inglés y otras español en las escenas, depende del día jajaja de dónde eres, Sgt. Pepper?
soy de Mexico, felicidades por tu escena y por que España gano la copa mundial, eres aficionado? yo si
oye me puedes ayudar con algo???
es que quiero hacer un resolvedor de ecuaciones lineales en algodoo y quiero que me ayudes porfavor
no he tenido escenas desde el 2009
y no se me ocurre nada mas que eso, porque no soy un buen programador
de antemano gracias
This is really sick. :tup:

Can you describe what the commands do?
@Sgt. Pepper

Gracias:) En cuanto a lo del resolver de ecuaciones, lo quieres hacer introduciendo los coeficientes o introduciendo la ecuación? Si te parece bien, seguimos con esto por MP? :)

@swiss.assault

I'll upload a new version of the microprocessor soon, with a lot of new commands. I'll include a full description of the commands, and maybe some examples.
...OMG
Bueno:D Para empezar, mejor me podrias enseñar la programacion y todo eso? Digo, como quiero empezar hacer lo mucho si no se lo poco. Sé algebra, calculo, trigonometria pero lo importante es primero aprender algebra y aritmetica,no?
Y hay que colaborar juntos, eres el primer usuario de español que encuentro aqui.
Gracias

P.D.:Se me olvido ponerte 10 en la escena pero ya esta _o_ _o_ _o_
Mille pétards ! O_o
You have created a real microprosseur make real calcularations like i thought. =D
10/10*10*7777
( reférence hided inside these numbers )
:D c++ and arduino are good enough for me:D
hey i would like to know how a micro chip or what it is works =P my msn is falandysz@live.dk :tup:
Last edited at 2010/11/01 06:12:16 by me and my crazy ideas
and i know what the Fibonacci or what you called them numbers is
it is a number that can be got by adding the 2previus number to each other =
1,1,2,3,5,8,14 or so :devil: :bonk: :tup:
Doing Fibonacci is easy, call me when you get a "Hello World!" :lol: :lol:
10/10 :tup:
Can it handle hardware interrupts? :lol: