Little Man Computer:  2. Branching Code @ComputerScienceLessons
Little Man Computer:  2. Branching Code  @ComputerScienceLessons
Uploaded September 2021 | Updated November 2026, 3 hours ago
Little Man Computer is a model of a computer that was created to help students of computer science learn about assembly language programming and the Von Neumann Architecture. In this computer science lesson, you will learn about operations in the Little Man Computer instruction set that allow you to write branching code. These include BRanch if zero or Positive (BRP), BRanch if Zero (BRZ) and BRAnch (BRA). BRP and BRZ are decision making operations; they test the value in the accumulator and alter the contents of the program counter depending on the outcome of the test, this in turn causes the flow of control to jump to another program instruction. BRA is used to perform an unconditional jump. You will also learn about the role of the CPU’s Memory Address Register (MAR) and the Memory Data Register (MDR) during the fetch decode execute cycle.
Online LMC simulator by 101computing. 101computing.net
Chapters:
00:00 Introduction
00:30 Summary of the Little Man Computer Instruction Set
00:52 A program to test if a number is bigger than a particular value
01:08 The 101computing LMC simulator
05:33 The CPU registers
09:34 A program to find the largest of two numbers
11:23 Exercises
12:16 Solutions
Little Man Computer:  2. Branching CodeDynamic Random Access Memory (DRAM). Part 4: Multiplexers and DemultiplexersPython Programming 8. While LoopsPython Programming 15. DictionariesThe SQL UPDATE StatementIntermediate VB.NET Programming Lesson 8. InfinityVB.NET Programming. Intermediate Lesson 5. Write your own FunctionsAdvanced VB.NET Programming – Threads, Events and Delegates (Part 2)Little Man Computer:  3. LoopsThe SQL INSERT StatementFundamental Concepts of Object Oriented ProgrammingBitwise Operators 4: The Logical Shift Operation
Computer Science Lessons |

Little Man Computer: 2. Branching Code

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER