Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

PEP/8 VIRTUAL COMPUTER CIS PART 2 Question 7 Instruction Specifier (Binary) : Qu

ID: 3804638 • Letter: P

Question

PEP/8 VIRTUAL COMPUTER CIS PART 2

Question 7

Instruction Specifier (Binary) :

Question 8

Meaning of Instruction :

A) Stop Execution

B)Load the operand into the A register

C)Store the contents of the A register into the operand

D)Add the operand to the A register

E) Subtract the operand from the A register

F) Character input to the operand

G) Character output to the operand

Question 9

Addressing Mode:

A) Immediate

B) Direct

Question 10

Operand Specifier (2-byte word):

A) 00 02

B) 11

C) AB CD

D) 11 00

E) C0

Question 11

Operand (2-byte word):

A) 11

B) 00 02

C) AB CD

D) E1

E) 11 00

Question 12

Contents of RAM address 00 02 after execution (2-byte word) :

A) 11

B) 00 02

C) AB CD

D) E1

E) 11 00

Question 13

Instruction Specifier (Binary) :

Question 14

Meaning of Instruction :

Stop Execution

Load the operand into the A register

Store the contents of the A register into the operand

Add the operand to the A register

Subtract the operand from the A register

Character input to the operand

Character output to the operand

Question 15

Addressing Mode:

Immediate

Direct

Question 16

Operand Specifier (2-byte word):

11 00

AB CD

C0

11

00 02

Question 17

Operand (2-byte word):

11 00

00 02

11

AB CD

E1

Question 18

Contents of the A register after execution (2-byte word) :

AB CF

11 02

00 02

AB CD

11 00

Question 19

Instruction Specifier (Binary) :

Question 20 (1 point)

Meaning of Instruction :

Stop Execution

Load the operand into the A register

Store the contents of the A register into the operand

Add the operand to the A register

Subtract the operand from the A register

Character input to the operand

Character output to the operand

Question 21

Addressing Mode:

Immediate

Direct

Question 22

Operand Specifier (2-byte word):

00 00

00

AB CD

81

00 01

Question 23

Operand (2-byte word):

81

00 00

00 01

00

AB CD

Question 24

Contents of the A register after execution (2-byte word) :

AB CC

00 00

00 01

AB CD

A) Stop Execution

B)Load the operand into the A register

C)Store the contents of the A register into the operand

D)Add the operand to the A register

E) Subtract the operand from the A register

F) Character input to the operand

G) Character output to the operand

Information Given the following Pep/8 virtual computer state of memory (in hexadecimal) RAM Address Content 0000 00 0001 01 0002 11 0003 00 0004 and the machine instruction E 100 02. Note: When the instruction is executed, Reg A contains the value AB CD.

Explanation / Answer

7) CC 01 CD

8) C)Store the contents of the A register into the operand

9) B) DIRECT ADDERSSING MODE

10) D)

11) C)

12) D

13) A

14) B

15) C

16) A

17) D