From 901eae5bb34c6ab293dcef5ea58e2ebdabe82515 Mon Sep 17 00:00:00 2001 From: g1n Date: Sun, 24 Oct 2021 07:34:15 +0000 Subject: [PATCH] First commit --- index.html | 30 ++++++++++++++++++++++++++++++ style.css | 24 ++++++++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 index.html create mode 100644 style.css diff --git a/index.html b/index.html new file mode 100644 index 0000000..bb1cf2e --- /dev/null +++ b/index.html @@ -0,0 +1,30 @@ + + + + + + LOLcpu + + + + + +
+
+

LOLcpu - my try to implement GRU ocpu

+

This is going to be something like log, where I am sharing some thoughts about electronics or circuits what I have done

+
+
+

Some thoughts about first big cpu goal

+

I think it will be unreal to implement ocpu specs in tiny amount of time, it may take ages.

+

So i decided to start from something easier.

+

My idea is to make cpu that have program counter, instruction register, and one general purpose register.

+

It will have 4 instructions - CLR, INC, DEC, FLR. CLR is instruction to set all zeros to general register.

+

INC and DEC is incrementing and decrementing its value. And FLR is too set maximum of that register (all ones).

+

I think that register should be at least 2-bit (but 4-bit mostly recommended), to know that it is working :)

+ +

24-10-2021

+
+
+ + diff --git a/style.css b/style.css new file mode 100644 index 0000000..eb0b8a2 --- /dev/null +++ b/style.css @@ -0,0 +1,24 @@ +body { + background:#1c1c1c; + color:#a7d129; + font-family: 'Inconsolata', monospace; +} +div { + padding:5px; + width:100%; + max-width:874px; + margin:24px auto; +} +hr{ + color:#32302f; +} +ul{ + list-style: none; +} +li{ + color:#81b214; +} +a{ + text-decoration:none; + color:#9ede73; +}