commit fc040afe342c7ba91b183d7821f3b5e5bef05c3f
parent a4b3bd67c4a0153513e4d230ac3fe174a93a57cd
Author: Andrew <andrewlaack1@gmail.com>
Date: Thu, 26 Sep 2024 08:46:19 -0500
Your commit message
Diffstat:
4 files changed, 34 insertions(+), 2 deletions(-)
diff --git a/Assembly.md b/Assembly.md
@@ -66,3 +66,19 @@ a_len EQU (. - a) / 4 ; we are stating . means current byte, a is the start of a
ldrsb - load register signed byte
[] - Square brackets load the value associated with the pointer in a register ie. [R0] = value at memory position specified by R0.
+
+cmp
+
+udiv
+
+mls
+
+EA - effective address this is not a command but an idea
+
+ldr R0,[R1,#24] ; EA = R1+24 and R1 is not changed
+
+str R0, [R1, #4]! ; EA = R1 + 4 and R1 = R1 + 4
+
+The ! means the address should be updated in the added register not the sum
+
+
diff --git a/DiscreteMath.md b/DiscreteMath.md
@@ -139,5 +139,5 @@ Unit 6.4 (Binomial Coefficient & Identities)
- [Binomial](Binomial.md)
Unit 6.5 (Generalized Permutations & Combinations)
- - Distinguishable
- - Indistinguishable
+ - [Distinguishable](Distinguishable.md)
+ - [Indistinguishable](Indistinguishable.md)
diff --git a/Distinguishable.md b/Distinguishable.md
@@ -0,0 +1,8 @@
+:discrete:
+# Distinguishable
+
+Ch 6.5
+
+## Notes
+
+**Definition:** Distinguishable means items are different in some way such that switching them results in a new permutation.
diff --git a/Indistinguishable.md b/Indistinguishable.md
@@ -0,0 +1,8 @@
+:discrete:
+# Indistinguishable
+
+Ch 6.5
+
+## Notes
+
+**Definition:** Indistinguishable means two elements, when switches, do not result in a new permutation.