https://github.com/arkenidar/simple
microcode machine (a C runtime and some microprograms are included). The challenge is compression of programs in this format. TODO: outputting that triggers memory mutation (program+data) for self-modification and read/write memory access by computed index.
https://github.com/arkenidar/simple
programmable
Last synced: 4 months ago
JSON representation
microcode machine (a C runtime and some microprograms are included). The challenge is compression of programs in this format. TODO: outputting that triggers memory mutation (program+data) for self-modification and read/write memory access by computed index.
- Host: GitHub
- URL: https://github.com/arkenidar/simple
- Owner: arkenidar
- License: mpl-2.0
- Created: 2016-10-09T12:06:54.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-02-19T09:07:06.000Z (almost 8 years ago)
- Last Synced: 2025-07-14T15:17:36.688Z (7 months ago)
- Topics: programmable
- Language: C
- Homepage: https://en.wikipedia.org/wiki/Microcode
- Size: 54.7 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
The instruction is defined as:
- ADDRESSES
- 1- Input Address
- (it defines where to read from: Memory or Input device)
- 2- Output Address
- (it defines where to write: Memory or Output device)
- INSTRUCTIONS
- 3- Instruction for case 0
- (executed when the bit in Path Selector address is 0)
- 4- Instruction for case 1
- (executed when the bit in Path Selector address is 1)
Execution of one instruction: bit copy and path selection phases.
- BIT COPY
- 1- input phase (Read from input address)
- 2- output phase (write to output address a copy of the bit from input address)
- PATH SELECTION
- 3- instruction selection phase (instruction selection from Path Selector address,
address that could be written or not in the output phase).
https://en.wikipedia.org/wiki/Microcode
https://en.wikipedia.org/wiki/One_instruction_set_computer