Going through how branching can be used to perform the equivalent of loops in Little Man Computer (LMC) assembly language.
The simulator shown is https://www.101computing.net/LMC, and it is definitely worth using it to practice.
You can download my instruction set summary here: https://drive.google.com/file/d/1Q3TbcZjACfz9k4zVpWc15tlIie8h9J8q/view?usp=sharing
Made for OCR A Level Computer Science Paper 1 (H446).
Part of the 1.2.4 Types of programming language topic: https://www.youtube.com/playlist?list=PL04uZ7242_M53EUttqyr8kCA5u6UT2JTf
Full Paper 1 playlist: https://www.youtube.com/playlist?list=PL04uZ7242_M46xMfDhdEi1_DuJJ3qI4wl
0:00 Example #1 Equivalent to a basic while loop
2:53 Example #2 Equivalent to for loop
9:07 Example #3 Implementing integer division (DIV)