Back to marketplace

Instruction set

No description yet. This curated deck is ready for daily study.

Total cards: 14•Content version: v4•Public deck•Updated: 8/1/2026

Card preview (14)

#1
Front (Question)

What is an instruction set?

Back (Answer)

The set of machine code instructions that a specific processor can understand/execute

#2
Front (Question)

When can two different type of processors be compatible?

Back (Answer)

If they operate on the same instructions, use the same machine code

#3
Front (Question)

What are the two parts that make up a machine code instruction?

Back (Answer)

The opcode and the operand

#4
Front (Question)

What does the opcode state?

Back (Answer)

The opcode is the instruction to perform.

#5
Front (Question)

What does the operand state?

Back (Answer)

The operand is the value or memory address to be used

#6
Front (Question)

What are the two addressing modes?

Back (Answer)

Immediate and Direct Addressing

#7
Front (Question)

What is immediate addressing?

Back (Answer)

• The data in the operand is immediately available for use as it represents a value e.g. 6 or 187 • This is a very fast addressing mode

#8
Front (Question)

What is direct addressing?

Back (Answer)

• The data in the operand refers to a memory location - Disadvantage is that code cannot be relocated

#9
Front (Question)

What is branching?

Back (Answer)

Branching is used for conditional statements or unconditional statements

#10
Front (Question)

What is a label?

Back (Answer)

A sequence of characters that identify a location in the source code

#11
Front (Question)

In operations what does the # symbol indicate

Back (Answer)

The # indicates that the operand is a number, uses immediate addression No # indicates that the operand is a memory address.

#12
Front (Question)

What does the halt operation do?

Back (Answer)

It terminates the program operation.

#13
Front (Question)

How many bits may each machine code instruction occupy up to? (if it provides a diagram)

Back (Answer)

32 bits, usually 6 slots if there are more or less slots just count up for example if there are 5 slots do - 1 2 4 8 16, 16 is the 5th slot

#14
Front (Question)

How many different opcodes can be represented with 4 bits

Back (Answer)

2^4 = 16 different opcodes