mesyeti

Home | Page list | Contact me


Nitron

Nitron is a 32-bit stack based virtual machine. Its goal is to work as an operating system for microcontrollers and maybe even desktop computers.

Instead of being restricted to its own memory, it has access to the host machine's memory. This means it can easily interact with the MMIO you may find on microcontrollers, meaning you can do low level programming in it.

Ideas

GitHub

CPU

The opcode takes up the lower 7 bits of the instruction. If the highest bit is set to 1, then the 32 bit value after the instruction is pushed to the stack before the instruction is executed.

Registers

Registers:

Instructions

System calls

The higher 16 bits is the section, the lower 16 bits is the call.

Section 0x0000 - User calls

This section has some space for user defined calls

Section 0x0001 - IO

Section 0x0002 - Memory

Section 0x0003 - VM

Section 0x0004 - Assembler

Section 0x0005 - Filesystem


Main website | GitHub

Counter.CO.KZ - a free web-counter on any taste!