The Little Man Computer CPU Simulator is used to learn and teach about assembly language for A Level and GCSE Computer Science. This is a brief introduction looking at how addition is performed using the LMC instruction set.
We have articles on our website if you wish to explore further: https://compucademy.co.uk/tag/little-...
For other articles relating to GCSE and A Level Computer Science, this is our blog page: https://compucademy.co.uk/blog/
Link to CPU simulator: https://peterhigginson.co.uk/lmc/
Code below:
INP
STA FIRST
INP
ADD FIRST
OUT
HLT
FIRST DAT