Little Man Computing

We use Little Man Computer to understand how the Von Neumann Architecture works. 

Syntax Used in LMC:



To LOAD data from a
variable and OUTPUT it:


This program loads the contents of variable FIRST into the accumulator (LDA FIRST), outputs the contents of the accumulator to the OUTBOX (OUT) and then pauses the program (HLT). 

Variable 'FIRST' is defined using 'FIRST DAT 42', this means the variable first contains the data 'DAT 42'. 

Comments

Popular posts from this blog

CPU Fetch-Decode-Execute Cycle

OSI Network Model

Scheduling