Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Compare the pseudocode with the assembly language code. Find the line of assembly code that is marked as containing an error and correct the error.

Compare the pseudocode with the assembly language code. Find the line of assembly code that is marked as containing an error and correct the error. (The two picture is connected the second picture 31 is the first picture 31. Don't get confuse.)

image text in transcribed

image text in transcribed

import java.io.*; public class CIS3413StarterCode1Java { public static void main (String [] args) throws IOException { int BufferedReader kbd = new BufferedReader (new InputStreamReader (System.in)); [] list = {5,7,4,6,3, 8, 2,9, 0, 20, 21, 29,22,28,23,27, 24, 26, 25, 30, 31, 39, 32,38,33,37,34,36,35,10,11,19,12,18,13,17,14,16,15,1}; String prompti = " Please enter an array element: "; String prompt2 = " Please enter a search target: "; String space = ""; String nfound = " The target was not found."; String found = " The target was fount at array location "; int to = 0; int ti = 0; int t2 = 39; int t3 = 39; int t4; - int ts; int t6; --01 int a0; int v0; // address calculation register ty // base address of array register te // address calculation register to do { a0 = list [t0]; System.out.print (a0); System.out.print (space); to ++; } while (t0

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Contemporary Issues In Database Design And Information Systems Development

Authors: Keng Siau

1st Edition

1599042894, 978-1599042893

More Books

Students also viewed these Databases questions

Question

1. Organize and support your main points

Answered: 1 week ago

Question

3. Move smoothly from point to point

Answered: 1 week ago

Question

5. Develop a strong introduction, a crucial part of all speeches

Answered: 1 week ago