Problem Set 7 Flashcards

1
Q

How many different addressing modes are used by the Motorola 6800 microprocessor?
a. 5
b. 6
c. 7
d. 8

A

7

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

What addressing Mode is utilized by the assembly program instruction shown below: LDA (R5)
a. Register Absolute Mode
b. Register Indirect Mode
c. Register Relative Mode
d. Register Indexed Mode
e. Register Direct Mode

A

Register Indirect Mode

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

In relation to microprocessor pin descriptions, what does the acronym NMI
stand for?

A

Non-Maskable Interrupt

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

What addressing mode determines the effective address by utilizing the index register and an offset constant value?
a. Register Displacement Addressing Mode
b. Indexed Addressing Mode
c. Register Relative Mode
d. Register Based Index Mode
e. Relative Addressing Mode

A

Indexed Addressing Mode

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

In this particular addressing mode, only the registers are involved and no memory address is specified.
a. Register Addressing Mode
b. Indexed Addressing Mode
c. Direct Addressing Mode
d. Register Indirect Addressing Mode
e. Relative Addressing Mode

A

Register Addressing Mode

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

This is a computer program that transforms machine codes into an
assembly program code.
a. assembler
b. disassembler
c. decompiler
d. interpreter
e. compiler

A

Disassembler

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

This is the technique of addressing instructions and data areas by designating their location in relation to the program counter or to some symbolic location.
a. Relative Addressing Mode
b. Register Indirect Mode
c. Displacement Addressing Mode
d. Indirect Addressing Mode

A

Relative Addressing Mode

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

In this addressing mode, the effective address of one of the operands is calculated by combining the content of the register with the displacement value of the given instruction. The formula can be stated as: e.a. = R + D,
where
e.a. = effective address
R = content value of register
D = displacement value

a. Indirect Addressing Mode
b. Displacement Addressing Mode
c. Indexed Addressing Mode
d. Register Indirect Mode

A

Displacement Addressing Mode

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

Based on the Motorola 6800 instruction set, what is the mnemonic of the assembly instruction that will transfer the contents of the index register into the stack pointer?
a. TSX
b. TPX
c. TXP
d. TXS

A

TXS

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

For the Motorola 6800, how many processor clock cycles are needed to
execute the JSR (jump to sub-routine) instruction?

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

In this addressing mode, the operand is a register containing a memory
address of where the data is located.
a. Register Addressing Mode
b. Register Direct Mode
c. Register Indirect Mode
d. Register Relative Mode
e. Register Indexed Mode

A

Register Indirect Mode

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

This is a type of programming language that is made-up of binary codes
(usually in HEX) intended to communicate directly with a computer’s
hardware, particularly the CPU or microprocessor.
a. Machine language
b. Low-level language
c. Assembly language
d. Mid-level language

A

Assembly language

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

In this addressing mode, the data or value needed can be found in one of the processor registers.
a. Register Relative Mode
b. Register Indirect Mode
c. Register Direct Mode
d. Register Indexed Mode
e. Register Addressing Mode

A

Register Direct Mode

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

In relation to microprocessor pin descriptions, what does the acronym
VMA stand for?

A

Valid Memory Address

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

What addressing mode is utilized by the assembly program instruction
shown below: COM ($0387)
a. Register Indirect Mode
b. Indirect Addressing Mode
c. Indexed Addressing Mode
d. Absolute Addressing Mode
e. Displacement Addressing Mode

A

Indirect Addressing Mode

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

In this specific addressing mode, no operand is needed to be indicated.
The location of the data to be operated is given in the description of the instruction itself.
a. Indexed Addressing Mode
b. Inherent Addressing Mode
c. Relative Addressing Mode
d. Displacement Addressing Mode
e. Register Direct Mode

A

Inherent Addressing Mode

16
Q

What addressing mode is utilized by the assembly program instruction
shown below: ASR $03,x
a. Immediate Addressing Mode
b. Indirect Addressing Mode
c. Direct Addressing Mode
d. Indexed Addressing Mode
e. Displacement Addressing Mode

A

Indexed Addressing Mode

17
Q

What addressing mode is utilized by the assembly program instruction
shown below: ANDA #$45
a. Immediate Addressing Mode
b. Indirect Addressing Mode
c. Displacement Addressing Mode
d. Register Addressing Mode
e. Relative Addressing Mode

A

Immediate Addressing Mode

18
Q

Which of the following CANNOT be a part of an assembly language
programming operand field?
a. memory address
b. op-code or instruction
c. value or label
d. register or accumulator

A

op-code or instruction

19
Q

What addressing mode is utilized by the assembly program instruction
shown below: MOV R9, R6
a. Register Displacement Addressing Mode
b. Relative Addressing Mode
c. Register Relative Mode
d. Register Addressing Mode
e. Register Based Index Mode

A

Register Addressing Mode

20
Q

What addressing mode is utilized by the assembly program instruction
shown below: MOV R9, R6
a. Register Displacement Addressing Mode
b. Relative Addressing Mode
c. Register Relative Mode
d. Register Addressing Mode
e. Register Based Index Mode

A

Register Addressing Mode

21
Q

Based on the Assembled Program Code shown above, what is the op code for the CPI instruction?
a. $3D
b. $FE
c. $C3
d. $FF
e. $D3

A

$FE

22
Q

What addressing mode is utilized by the assembly program instruction
shown below: STAB $0387
a. Displacement Addressing Mode
b. Indirect Addressing Mode
c. Immediate Addressing Mode
d. Extended Addressing Mode
e. Indexed Addressing Mode

A

Immediate Addressing Mode

23
Q

This addressing mode is one in which the address field contains the
effective address of the memory location where the actual data is present.
a. Indexed Addressing Mode
b. Relative Addressing Mode
c. Indirect Addressing Mode
d. Displacement Addressing Mode

A

Indirect Addressing Mode

24
Q

Based on the Atmega 328P microcontroller instruction set, what is the mnemonic of the assembly instruction that will branch if the half-carry flag
is set?
a. BRHS
b. BRTC
c. BHCS
d. BRVS
e. BCRS

A

BRHS

25
Q

Based on the Motorola 6800 microprocessor instruction set, what is the opcode (in HEX) of the assembly instruction with the mnemonic: TBA
a. $1B
b. $26
c. $17
d. $3F
e. $1A

A

$1A

26
Q

This form of addressing simplifies the instruction execution cycle since no
additional memory fetches are required
a. Indirect Addressing Mode
b. Displacement Addressing Mode
c. Immediate Addressing Mode
d. Indexed Addressing Mode

A

Immediate Addressing Mode

27
Q

A visual tool for easily determining the op-code or assembly code for all the instructions that are available for a certain microprocessor.
a. instruction table
b. decoding table
c. IDE emulator
d. assembling table

A

decoding table

28
Q

In this addressing mode, the operand field of the instruction provides the effective address of the operand in the memory.
a. Absolute Addressing Mode
b. Indexed Addressing Mode
c. Displacement Addressing Mode
d. Indirect Addressing Mode

A

Absolute Addressing Mode

29
Q

A term refers to the way of telling a processor where a particular data or operand is located so that it can be processed.
a. relaying
b. indexing
c. masking
d. interrupting
e. addressing

A

addressing

30
Q

Given the memory contents below, determine the data that is stored at
address $005A.
a. $20
b. $B7
c. $FE
d. $FC
e. $C7

A

$FC