. Create a program that prints "CS2253" using the TRAP instruction opcode 1111) and trap vector x22 (see Table A.3 on page 675). The data or the string should start at address x6000 and the program should star t address x3000. lote that you can load multiple .bin files into the simulator. an contain your program at address x3000, and the other can contain our data, at address x6000. One our program should not make any assumptions about what values are nitially in RO to R7 when it starts to run.

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter13: File Input And Output
Section: Chapter Questions
Problem 6PE
icon
Related questions
Question
2. Create a program that prints "CS2253" using the TRAP instruction
(opcode 1111) and trap vector x22 (see Table A.3 on page 675).
for the string should start at address x6000 and the program should start
at address x3000.
The data
Note that you can load multiple .bin files into the simulator.
can contain your program at address x3000, and the other can contain
your data, at address x6000.
One
Your program should not make any assumptions about what values are
initially in R0 to R7 when it starts to run.
Screen shot required.
Transcribed Image Text:2. Create a program that prints "CS2253" using the TRAP instruction (opcode 1111) and trap vector x22 (see Table A.3 on page 675). for the string should start at address x6000 and the program should start at address x3000. The data Note that you can load multiple .bin files into the simulator. can contain your program at address x3000, and the other can contain your data, at address x6000. One Your program should not make any assumptions about what values are initially in R0 to R7 when it starts to run. Screen shot required.
Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Stack operations
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT