Question: .data # Data segment Hello: .asciiz In Hello world! In # declare a zero terminated string Hello_len: .word 16 #Count number of occurences

.data # Data segment Hello: .asciiz " In Hello world! In " # declare a zero terminated string Hello_len: .word 16 #Count number of occurences of letter "l" in Hello string la $a0, Hello la $a0, Enter # address of string to print li $v0,4 # system call code for print_str syscall # print the string Count number of occurrences of letter l in Hello string using MIPS
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
