summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2021-08-01 14:43:41 -0600
committermo khan <mo@mokhan.ca>2021-08-01 14:43:41 -0600
commit5a873d17db7bd133023bc40e15849db9664af92d (patch)
tree17ea32acf0a3e474924981bb02feac8a7521411b
parent124ce9d56b8ded336f734ede74b1762157d0aef2 (diff)
docs: split doc into separate sections
-rw-r--r--README.md92
-rw-r--r--doc/binary.md86
-rw-r--r--doc/tools.md7
3 files changed, 93 insertions, 92 deletions
diff --git a/README.md b/README.md
index 34b9b9b..e69de29 100644
--- a/README.md
+++ b/README.md
@@ -1,92 +0,0 @@
-# Tools
-
-1. Terminal (shell)
- * Alacritty (bash)
-1. Editor (free)
- * vim (BEST EDITOR) (hardest)
- * VSCode
-
-```plaintext
- ---------
- | (oo) |
- | -- |
- --------- | operating system |
- \--------\
- \--------\
- ---------
-
-| 3 steps forward |
-| turn right |
-| jump up and down like a silly person. |
-| sit down |
-| code -> machine language | (compiler)
-| EXECUTE |
-
-Beeep 1
-Booop 0
-
--------------------------------------------
-/\/\/\/\/\/\/\/\/\/\/\/\/
--------------------------------------------
-
-elenco electric circuits
-
-
- | switch -> wire ---> resistors ---> battery |
-
-
-|-- ---> wire --- wire ---- bulb----|
-| |
-------------------------------------|
-
-states
-* on: 1
-* off: 0
-```
-
-numbers.
--infinity,-2,-1,0,1,2,3,4,5,6,7,8,9,10 ........................ infinity
-
- 10^0=1
- -----------
- |100|10| 1|
- -----------
- | 1| 3| 7| one hundred thirty seven
- ^
- |
- (0,1,2,3,4,5,6,7,8,9) base(10) numbering systems.
-
-= (7 * 10^0) + (3 * 10^1) + (1 * 10^2)
-= (7 * 1) + (3 * 10) + (1 * 100)
-= (7) + (30) + (100)
-= 137
-
-base(2) === (0,1)
-
-|2^3|2^2|2^1|2^0|
-| 8| 4| 2| 1|
------------------
-| 0| 0| 0| 0|
-
-= (0 * 1) + (0 * 2) + (0 * 4) + (0 * 8)
-= ( 0 ) + ( 0 ) + ( 0 ) + ( 0 )
-= 0
-
-|2^3|2^2|2^1|2^0|
-| 8| 4| 2| 1|
------------------
-| 0| 0| 0| 1|
-
-= (1 * 1) + (0 * 2) + (0 * 4) + (0 * 8)
-= ( 1 ) + ( 0 ) + ( 0 ) + ( 0 )
-= 1 === 0x0001
-
-
-|2^3|2^2|2^1|2^0|
-| 8| 4| 2| 1|
------------------
-| 0| 0| 1| 0|
-
-= (0 * 1) + (1 * 2) + (0 * 4) + (0 * 8)
-= ( 0 ) + ( 2 ) + ( 0 ) + ( 0 )
-= 2 (base 10) == 0x0010 (base2) \ No newline at end of file
diff --git a/doc/binary.md b/doc/binary.md
new file mode 100644
index 0000000..4315544
--- /dev/null
+++ b/doc/binary.md
@@ -0,0 +1,86 @@
+# Binary
+
+```plaintext
+ ---------
+ | (oo) |
+ | -- |
+ --------- | operating system |
+ \--------\
+ \--------\
+ ---------
+
+| 3 steps forward |
+| turn right |
+| jump up and down like a silly person. |
+| sit down |
+| code -> machine language | (compiler)
+| EXECUTE |
+
+Beeep 1
+Booop 0
+
+-------------------------------------------
+/\/\/\/\/\/\/\/\/\/\/\/\/
+-------------------------------------------
+
+elenco electric circuits
+
+
+ | switch -> wire ---> resistors ---> battery |
+
+
+|-- ---> wire --- wire ---- bulb----|
+| |
+------------------------------------|
+
+states
+* on: 1
+* off: 0
+```
+
+numbers.
+-infinity,-2,-1,0,1,2,3,4,5,6,7,8,9,10 ........................ infinity
+
+ 10^0=1
+ -----------
+ |100|10| 1|
+ -----------
+ | 1| 3| 7| one hundred thirty seven
+ ^
+ |
+ (0,1,2,3,4,5,6,7,8,9) base(10) numbering systems.
+
+= (7 * 10^0) + (3 * 10^1) + (1 * 10^2)
+= (7 * 1) + (3 * 10) + (1 * 100)
+= (7) + (30) + (100)
+= 137
+
+base(2) === (0,1)
+
+|2^3|2^2|2^1|2^0|
+| 8| 4| 2| 1|
+-----------------
+| 0| 0| 0| 0|
+
+= (0 * 1) + (0 * 2) + (0 * 4) + (0 * 8)
+= ( 0 ) + ( 0 ) + ( 0 ) + ( 0 )
+= 0
+
+|2^3|2^2|2^1|2^0|
+| 8| 4| 2| 1|
+-----------------
+| 0| 0| 0| 1|
+
+= (1 * 1) + (0 * 2) + (0 * 4) + (0 * 8)
+= ( 1 ) + ( 0 ) + ( 0 ) + ( 0 )
+= 1 === 0x0001
+
+
+|2^3|2^2|2^1|2^0|
+| 8| 4| 2| 1|
+-----------------
+| 0| 0| 1| 0|
+
+= (0 * 1) + (1 * 2) + (0 * 4) + (0 * 8)
+= ( 0 ) + ( 2 ) + ( 0 ) + ( 0 )
+= 2 (base 10) == 0x0010 (base2)
diff --git a/doc/tools.md b/doc/tools.md
new file mode 100644
index 0000000..2b9dc0b
--- /dev/null
+++ b/doc/tools.md
@@ -0,0 +1,7 @@
+# Tools
+
+1. Terminal (shell)
+ * Alacritty (bash)
+1. Editor (free)
+ * vim (BEST EDITOR) (hardest)
+ * VSCode