Moved images to specification directory

This commit is contained in:
jan 2024-12-17 17:06:27 +01:00
parent 0cd531368e
commit bc5150969e
4 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
# The Simplest Virtual Computer (16 bit) # The Simplest Virtual Computer (16 bit)
<div align="center"> <div align="center">
<img src="logo_alpha.png" alt="Logo" width="200"/> <img src="specification/logo_alpha.png" alt="Logo" width="200"/>
</div> </div>
This is the specification for an extremely simple "virtual computer" that can be emulated. This is the specification for an extremely simple "virtual computer" that can be emulated.
@ -120,7 +120,7 @@ When the instruction pointer advances, it does so by four positions.
A program is really just the initial state of the main memory. A program is really just the initial state of the main memory.
There is no distinction between memory that contains instructions and memory that contains some other asset. There is no distinction between memory that contains instructions and memory that contains some other asset.
The initial state is loaded from a binary file that is read as containing the (le) u16 values in order. The maximum size is $2*2^{16}=$ bytes ($\approx$ 131.1kB). The initial state is loaded from a binary file that is read as containing the (le) u16 values in order. The maximum size is $2*2^{16}$ bytes ($\approx$ 131.1kB).
It can be shorter, in which case the end is padded with zeroes. The computer will begin by executing the instruction at index 0. It can be shorter, in which case the end is padded with zeroes. The computer will begin by executing the instruction at index 0.
## Example ## Example
@ -176,7 +176,7 @@ Inspecting the file, we should see:
When we run this, we get the following output: When we run this, we get the following output:
![All colors](colors_scaled.png) ![All colors](specification/colors_scaled.png)
## Contributing ## Contributing

BIN
logo.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

View File

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 10 KiB