1.2.4 introduction to programming Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

what are the four modes of memory addressing

A

Immediate
direct
indirect
index

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

what is the opcode of the binary value stored in RAM

A

the instruction

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

what is the operand of the binary value stored in RAM

A

The data

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

what is the operand in the address in MAR when using immediate addressing

A

the data being fetched

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

what is the operand in the address in MAR when using direct addressing

A

the address of the data stored in RAM

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

what is the operand in the address in MAR when using indirect

A

the address in RAM which stores the address of the data being fetched

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

what is the operand in the address in MAR when using index addressing

A

the operand is the offset

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

where is the base address stored in indexed addressing

A

in the base register

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

when is indirect addressing used in practice

A

when a program uses libraries which are loaded in

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

how does the loader make use of modes of addressing memory when dynamic Linkin had been used

A

a block of memory called a vector table which stores the addresses of the all the subroutines stored in memory

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