A Level Computer Science OCR Practice Exam 2026 – Complete Study Resource

Get more with Examzify Plus

Remove ads, unlock favorites, save progress, and access premium tools across devices.

FavoritesSave progressAd-free
From $9.99Learn more

1 / 400

In LMC, what is the purpose of the "BRA" instruction?

Branches to the next instruction unconditionally

The "BRA" instruction in the Little Man Computer (LMC) architecture is used for unconditional branching, which means it directs the program to jump to a specified instruction in the program without any conditions. This is fundamental in controlling the flow of a program, enabling it to repeat sections or skip over certain parts based on the program’s logic.

When "BRA" is executed, the program counter (PC) is updated to the address specified by the instruction, effectively allowing the program to 'branch' to that point and continue execution from there. This is critical for implementing loops and jump statements, which form a crucial part of many algorithms.

Unconditional branching differs from conditional branches (if they were to be considered), which execute jumps based only on specific criteria or conditions. The other options include functions like loading data, storing values, and halting execution, which serve different purposes within the architecture but do not pertain to the branching behavior of the program's flow control as defined by the "BRA" instruction.

Get further explanation with Examzify DeepDiveBeta

Loads data into the accumulator

Stores the accumulator’s value

Halts processor execution

Next Question
Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy