Instruction Syntax Flashcards

1
Q

Instruction Syntax?

A

<operation>{cond}{flags} Rd,Rn,Operand2</operation>

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

< operation >

A

A three-letter mnemonic, e.g. MOV or ADD.

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

{cond}

A

An optional two-letter condition code, e.g. EQ or CS.

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

{flags}

A

An optional additional flags. e.g. S.

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

Rd

A

The destination register.

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

Rn

A

The first source register.

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

Operand2

A

A flexible second operand.

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

In the syntax line, curly brackets:

A

indicate optional parts.

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

Leftmost register:

A

Rd is the destination.

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

Instructions are generally ____-_____ (except write to PC and register-controlled shift).

A

Instructions are generally single-cycle (except write to PC and register-controlled shift).

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