Assembly Language Flashcards

1
Q

What are the two instruction sets for the processor:

A

RISC (reduced instruction set) or CISC (complex instruction set). An instruction set is a pattern of binary values that a particular processor recognises as commands

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Describe a typical line of assembly code:

A

Op-code - the mnemonic instruction
Operand - the registers/data that is being used
Addressing mode - immediate (directly using specific data - #num) or direct (specifies a register with the right data in - num)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the four types of operation codes:

A

Data transfer (LDR, STR, MOV), arithmetic (four basic, increment, decrement, compare, reverse sign, shift), logical operations (logic gates), and branch operations (BEQ, BNE, BLT, BGT)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly