HOME About NCOT Documentation SineSoft Social Media Support Me

SineSoft

Made from 100% Programmer Art

[Blog] [Prototypes] [Labs]
How to Write Emulator - Fetch Decode Execute Cycle

How to Write Emulator - Fetch Decode Execute Cycle

Posted:

How a Redcode “CPU” works The CPU is a machine, it follows a basic mechanism to the beat of an external clock. In the case of a Redcode simulator, every tick of the clock causes the CPU to go through what is called the Fetch-Decode-Execute (FDE) cycle.

Read More…
How to Write Emulator - Automating Tedious Programming with Excel

How to Write Emulator - Automating Tedious Programming with Excel

Posted:

Sometimes you have to type out almost identical lines of code, and it’s either time consuming or error prone. Here’s how to avoid it all by using some clever Excel techniques.

Read More…
How to Write Emulator - Opcodes Jumptables

How to Write Emulator - Opcodes Jumptables

Posted:

How to efficiently store and execute many small functions, without using a single if statement or switch construct. Opcodes Redcode contains 17 opcodes which perform standard operations such as copying data, maths and conditional jumps.

Read More…
How to Write Emulator - Intro

How to Write Emulator - Intro

Posted:

To begin, this isn’t technically an emulator, the system I’m trying to model isn’t real. This is more of a simulator, but that’s less of a catchy search word on the Internet.

Read More…