Skip to content

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.

License

arkenidar/simple

Repository files navigation

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

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published