notes

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit e14f9061d8730b24cd32b04df92bce8e3255ffa6
parent 158ab604569d6ef842da2399a6cfda2edd57aeff
Author: Andrew <andrewlaack1@gmail.com>
Date:   Fri, 20 Sep 2024 19:42:05 -0500

Notes?

Diffstat:
MAssembly.md | 42++++++++++++++++++++++++++++++++++++++++++
MBinomial.md | 8++++++++
MDiscreteMath.md | 5+++++
3 files changed, 55 insertions(+), 0 deletions(-)

diff --git a/Assembly.md b/Assembly.md @@ -23,4 +23,46 @@ Week 2: - [Microprocessor](Microprocessor.md) - [Microcontroller](Microcontroller.md) +ldr - load relative to program counter (ldr R0,=prompt) - 0 means the address if not by value +ldrh - load half word with zero extension + +ldrsh - load half word sign extended + +ldrsb - load signed byte + +bl WriteString - this uses the library to write out the R0 register + +bl WriteInt + +movs - + +mov - copy - mov R1, R0 (this copies R0 to R1) + +'#79' - the pouond sign specifies it is a constant + +bl ReadChar - read character input from user + +push - pushes to stack (push {R0}) + +pop - brings from stack to register (pop {R0}) + +add - two argument or three - two means you add the two and put into the first position, three means add last two and place in first one. + +b L1 - This is the branch command which says to branch to L1. + +bge - branch greater or equal - if you have subs then there is another bit somewhere else that will then be used to evaluate bge. + +bl Newline + +bgt - greater than signed + +subs - subtract - subs R1,#1 + +EQU - when defining a variable with EQU we are stating define + +a_len EQU (. - a) / 4 ; we are stating . means current byte, a is the start of a and divide by 4 because each element in a is 4 bytes. This would only work when defined right after a value. + +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. diff --git a/Binomial.md b/Binomial.md @@ -6,3 +6,11 @@ Ch 1.3 ## Notes **Definition:** A binomial is the combination of two values in the form of (x + y). + +Examples: + +x+y + +(x+y)^10 + +z+n diff --git a/DiscreteMath.md b/DiscreteMath.md @@ -129,8 +129,13 @@ Unit 6.3 (Permutations and Combinations) - [RPermutation](RPermutation.md) - [Combination](Combination.md) - [RCombination](RCombination.md) + - CombinatorialProof + - BijectiveProof Unit 6.4 (Binomial Coefficient & Identities) - [BinomialCoefficient](BinomialCoefficient.md) - [PascalsIdentity](PascalsIdentity.md) - [VandermondesIdentity](VandermondesIdentity.md) + - [Binomial](Binomial.md) + +Unit 6.5 (Generalized Permutations & Combinations)