Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

What is the output of the following code: . data STR 1 : . asciiz Fried Chicken STR 2 : . asciiz Pizza STR 3

What is the output of the following code:
.data
STR1: .asciiz Fried Chicken
STR2: .asciiz Pizza
STR3: .asciiz Cheeseburger
.text
main:
la $t0, STR1
lw $s0,0($t0)
la $t1, STR2
lw $s1,0($t1)
la $t2, STR3
lw $s2,0($t2)
add $a0, $s1, $0
li $v0,4
syscall

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

Step: 3

blur-text-image

Ace Your Homework with AI

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

Get Started

Students also viewed these Databases questions