Ace the A Level Computer Science OCR 2025 – Code Your Way to Success!

Question: 1 / 400

What does the LMC instruction "LDA" do?

Stores data into the accumulator

Loads data from a specified storage location into the accumulator

The "LDA" instruction in the Little Man Computer (LMC) model is designed to load data from a specified memory address into the accumulator. This action is fundamental in assembly language programming because the accumulator serves as the primary register for performing arithmetic and logic operations. By using "LDA," a programmer can retrieve a value stored in memory for processing.

In this context, it is important to recognize how the other actions differ: storing data into the accumulator involves using a different instruction, branching affects the control flow of the program rather than accessing data, and fetching the next instruction is part of the program execution cycle but is not related specifically to loading data into the accumulator.

Get further explanation with Examzify DeepDiveBeta

Branches to a given address

Fetches the next instruction

Next Question

Report this question

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy