I need to implement the work of MP K580IK80. Those. I will have exactly 55 steps, in order to show graphically (animation, there is nothing complicated) as the data goes through the address bus to the data bus. But it also requires that the program also transmit all this data through the processor (this is the problem, tell me how to write in C #, where to start?) ...

ps About megapixel K580IK80 and how it works, have already read, the principle is not complicated ... But I would like to understand how to describe it in C # ... right here , I read about this megapixel!

Here is an example of software.

  • 2
    NDA, I remember collecting a computer at one time, based on this microprocessor, more precisely on the Zilog Z80, the computer was called ZX Spectrum, as much as 48 kb of available RAM, and the address bus addressed 64 kb, 16 kb was shaded by the address space of the ROM! - rejie
  • 2
    I did not understand the formulation of the problem. What program, what does it do, what kind of data, what kind of processor should be represented in the program. How does this program relate to a graphic presentation? Porridge. - ShockWave
  • one
    added an example to the post ... - Timi

1 answer 1

The general idea is this (modeling at the command level).

  1. Microprocessor registers are described as variables.
  2. System memory is like an array of bytes.
  3. The cycle of sampling-execution of commands - as a transition table.

Total In the original array write the program code. At each step, select data. In the transition table, perform the actions corresponding to the opcode.

If the link you provided has a ready-made code, then transferring it to C # will not be difficult.

  • Thank you, I already imagine more than what I need to do) - Timi