topic 10 theory Flashcards

1
Q

whatis Conditional branching?

A

branch is made if a certain condition is met. else execute the next instruction in sequence

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

unconditional branch instruction

A

branch is always taken without any condition

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

can a branch jump both forward and backward?

A

Yes

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

What is procedure call

A

A self contained program incorporated to a larger program. (Function)

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

Definition of Stack frame

A

Stores the entire set of context (arguments, variables, register values) and return address

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

Stack Pointer

A

Point to the top element of the stack

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

Frame Pointer

A

Point to start of the current stack frame

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

Different types of addressing modes

A

Immediate, Direct, Indirect, Register, Indirect register, Stack

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