Types of Programming Language (OCR A-Level Computer Science): Flashcards

📚Flashcards
Assembly Language & Little Man Computer
Sign up to keep revising.Create a free account to study more flashcards and track your progress.

Practise the cards

15 cards from this deck

Show

What type of language is Assembly?

Low-level programming language

Assembly Language and computer architecture

Specific to computer's architecture

What is Little Man Computer (LMC)?

Simplified CPU model to learn assembly concepts

What does the LMC Accumulator do?

Single register for arithmetic calculations

What does LMC Program Counter track?

Address of next instruction to execute

What does an LMC Mailbox store?

3-digit instruction or data value

What does ADD (1XX) do?

Adds value at address XX to accumulator

What does SUB (2XX) do?

Subtracts value at address XX from accumulator

What does STA (3XX) do?

Stores accumulator value into address XX

What does LDA (5XX) do?

Loads value at address XX into accumulator

When does BRZ (7XX) branch?

Accumulator is zero

When does BRP (8XX) branch?

Accumulator is positive

What does INP (901) do?

Inputs value into accumulator

What does OUT (902) do?

Outputs value in accumulator

What does HLT (000) do?

Halts the program

Join 100,000+ A-Level students studying Flashcards with us.

Select your subjects, and get access to A+ resources today.