Professional Documents
Culture Documents
Quiz Instructions
Flag question: Question 2
Question 22 pts
Convert the assembly language pseudo-op, .WORD 790, into hexadecimal machine
language object code that is suitable for PEP/9
Flag question: Question 3
Question 32 pts
5.12 b in 5th edition text
provide the second output
Flag question: Question 4
Question 42 pts
Convert the assembly language pseudo-op, .BYTE 0xF8, into hexadecimal machine
language object code that is suitable for PEP/9. Separate each byte with a space.
Flag question: Question 5
Question 52 pts
In the following code, determine the value of the symbol this.
Submit the hex value with no spaces, commas, or comments.
this: DECO this,d
STOP
.END
Flag question: Question 6
Question 62 pts
In the following code, determine the value of the symbol this.
Provide the hexadecimal value with no spaces, commas, or comments.
For example: 0A3F not 0A 3F
BR theOther
this: .word 17
that: .word 19
theOther: DECO this,d
DECO that, d
STOP
.END
Flag question: Question 7
Question 72 pts
Predict the output of the following assembly language program.
CHARO 0x000C, d
CHARO 0x000B,d
CHARO 0x000A, d
STOP
.ASCII "gum"
.END
Flag question: Question 8
Question 82 pts
In the following code, write the object code suitable for Pep/8 in
hexadecimal.
Provide the hexadecimal bytes and the ending sentinel with a space in
between each byte
BR theOther
this: .word 17
that: .word 19
theOther: DECO this,d
DECO that, d
STOP
.END
Flag question: Question 9
Question 92 pts
Convert the assembly language instruction, STR0 0x000D, sf, into hexadecimal
machine language.
Flag question: Question 10
Question 102 pts
Predict the output of the following assembly language program.
CHARO 0x0008, d
CHARO 0x0007,d
STOP
.ASCII "is"
.END
Flag question: Question 11
Question 112 pts
Exercise 6.4 in the 5th edition of the text.
View keyboard shortcuts
pView keyboard shortcutsAccessibility Checker
0 words
</>Switch to the html editorFullscreen
Flag question: Question 12
Question 122 pts
Exercise 6.1 in the 5th edition of the text.
View keyboard shortcuts
pView keyboard shortcutsAccessibility Checker
0 words
</>Switch to the html editorFullscreen
Flag question: Question 13
Question 132 pts
Matching.
Group of answer choices
__ branches to the location specified in the operand specifier
The Program Counter (PC) contains the address of the ________ instruction
Flag question: Question 14
Question 142 pts
Write the Pep/9 assembly language statement to branch to location Branch1 if the
accumulator is negative
Flag question: Question 15
Question 152 pts
What is the Pep/9 virtual machine?
How does it relate to the Von Neumann architecture?
View keyboard shortcuts
pView keyboard shortcutsAccessibility Checker
0 words
</>Switch to the html editorFullscreen
Flag question: Question 16
Question 162 pts
Machine Code and assembly language hase a ______________ relationship
Flag question: Question 17
Question 172 pts
Given the following state of memory, what is the contents of the accumulator after
the execution of this Load instruction
11000001 00000000 00000010
0001 A2
0002 00
0003 FF
Provide your answer in binary (0's and 1's)
Flag question: Question 18
Question 182 pts
What does the following assembler directive do?
.WORD 4
View keyboard shortcuts
pView keyboard shortcutsAccessibility Checker
0 words
</>Switch to the html editorFullscreen
Flag question: Question 19
Question 192 pts
Distinguish between the pseudocode instructions .BLOCK AND .WORD.
View keyboard shortcuts
pView keyboard shortcutsAccessibility Checker
0 words
</>Switch to the html editorFullscreen
Flag question: Question 20
Question 202 pts
Given the following state of memory, what is the contents of the accumulator after
the execution of this Load instruction
11000000 00000000 00000010
0001 A2
0002 11
0003 FF
Provide your answer in binary (0's and 1's)