Question: hi hope you're doing good . can you please solve both of these question in low level language / assembly language so i can perform

hi hope you're doing good . can you please solve both of these question in low level language / assembly language so i can perform it on MARS simulator

for example .

hi hope you're doing good . can you please solve both of

these question in low level language / assembly language so i can

i want code like this.. thankyou so much

perform it on MARS simulator for example . i want code like

Examples 2: (Count Letters in the word) data name: .space 20 m: .asciiz" text li $t3, 0 la $t1, m li $v0, 8 la $a0, name li $a1, 20 syscall la $t2, name lb $t7, ($t1) lb $t6, ($t2) Loop Loop: addi $t3, $t3, 1 addi $t2, $t2, 1 lb $t6, ($t2) Loop: beq Sto, $t7, exit j Loop 1 exit: li $v0,1 move $a0,$t3 syscall li $v0, 10 syscall (1) Take a string as input from the user and tell whether the string is a palindrome or not (i.e., Kayak). (2) You are required to take a string as an input and count the number of words present in the string. Sample Input: Karachi is the largest city of Pakistan Sample Output: No. of words in the string are 7

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!