Browse Search Popular Register Upload Rules User list Login:
Search:
custom machine code idea

Image:
screenshot of the scene

Author: Engine135

Group: Default

Filesize: 107.41 kB

Date added: 2023-07-05

Rating: 5

Downloads: 402

Views: 174

Comments: 9

Ratings: 1

Times favored: 0

Made with: Algodoo v2.1.0

Tags:

Scene tag

4 bit simple-ish low level programming language, free to use/edit etc.
Last edited at 2023/07/20 04:56:31 by Engine135
Please log in to rate this scene
edit
Similar scenes
Title: Human Code
Rating: 5
Filesize: 38.83 kB
Downloads: 1172
Comments: 0
Ratings: 1
Date added: 2020/03/28 22:02:57
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Rotary Ball Sort Lite (less code)
Rating: 5
Filesize: 100.9 kB
Downloads: 781
Comments: 9
Ratings: 1
Date added: 2024/08/10 00:22:36
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Morse Code Machine
Rating: 5.625
Filesize: 231.1 kB
Downloads: 2530
Comments: 4
Ratings: 2
Date added: 2013/07/23 00:14:11
Made with: Algodoo v2.1.0
Rating: rated 5.6
download
Title: Mining machine (custom solution v1.6)
Rating: 5.8889
Filesize: 144.68 kB
Downloads: 1939
Comments: 2
Ratings: 3
Date added: 2012/01/05 12:57:07
Made with: Algodoo v2.0.0 Edu
Rating: rated 5.9
download
Title: Chess Match Player
Rating: 5.625
Filesize: 281.39 kB
Downloads: 3687
Comments: 14
Ratings: 2
Date added: 2021/02/21 00:38:32
Made with: Algodoo v2.1.0
Rating: rated 5.6
download
Title: One Hit Wonder
Rating: 5
Filesize: 24.06 kB
Downloads: 518
Comments: 3
Ratings: 1
Date added: 2012/10/21 11:36:14
Made with: Algodoo v2.0.2 Edu
Rating: rated 5
download
This resembles the 8-bit Assembly Language code that I wrote many centuries ago back in the stone-age of computers. (well actually it was during the 1980's).
challenge accepted
Just a question - if something goes wrong like opcode 1111 is called, or you try to move a number like 7 into a place that doesn't exist, what will it do? Will it just do nothing or will it send an error?

Also, I don't fully understand how MOV works.
If I do understand it correctly, it works like this, right?

mov (mode), (value/register), (register)

Also, do I have permission to create a processor that runs this ML?
Last edited at 2023/07/05 22:52:36 by Little
Ohh okay, I get it! I was right about MOV!

I take it SAV and DEL saves to an external memory address - probably either 8 bytes long or, if we use Register 1 and 2 together, 128 bytes long.

Still not entirely sure about that!
how MOV works in this language is first, the first 4 bits is the instruction (mov), then the second bit is the mode of it (it determines if a value is being moved into a register/other or if a register/other is being moved to another register/other, then the rest 8 bits is the two registers/other or value and a register/other.
AAAABCCCCDDDD.
i have no idea how it would handle errors yet
Thank you!
Do I have permission to make a scene response to this, with a processor and stuff?
Wow Little! I'm blown away by the fact that you want to design a microprocessor based on a made up machine code language. It's usually the other way around! :o

I'm looking forward to testing and using it after it's ready for testing. Will it include i/o ports, memory, and all the required glue logic?
Yup!
Last edited at 2023/07/06 00:42:04 by Little
Awesome! :)