subject

# Your Name - DATE # To_lowercase. asm-- A program that convert uppercase to lowercase # Registers used: # That's your turn!!! Put used registers here. .data string: .asciiz "HeLlo WoRld" # We want to lower this string newline: .asciiz "\n" .text main: la $t0, string # Load here the string toLowerCase:18 lb $t2, 0($t0) # We do as always, get the first byte pointed by the address beqz $t2, end # if is equal to zero, the string is terminated #if (character >= 'A' || |Put your code here | || upperCaseTest2: # && character <= 'Z') || |Put your code here | || continue: # Continue the iteration addi $t0, $t0, 1 # Increment the address j toLowerCase isUpperCase: # add 32, so it goes lower case || |Put your code here | || sb $t2, 0($t0) # store it in the string j continue # continue iteration as always end: li $v0, 4 # Print the string la $a0, string syscall li $v0, 4 # A nice newline la $a0, newline syscall # We have done, exit the program li $v0, 10

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 23:00
Describe in pseudocode an algorithm that given an integer n and a linked list of elements increases the linked list by a factor of n by replacing each element in the original list with n copies of that element. for example, if l: [18, 7, 4, 24, 11] and n = 3 the resulting list should be l: [18, 18, 18, 7, 7, 7, 4, 4, 4, 24, 24, 24, 11, 11, 11]. if the value of n is less than or equal to 0, the list should be empty after the call. what’s the running time of your algorithm?
Answers: 3
question
Computers and Technology, 22.06.2019 11:00
in 2007, floridians died in alcohol-related collisions.a.  501b.  1,051c.  5,015d.  10,839
Answers: 1
question
Computers and Technology, 23.06.2019 04:31
Jennifer has to set up a network in a factory with an environment that has a lot of electrical interference. which cable would she prefer to use? jennifer would prefer to use because its metal sheath reduces interference.
Answers: 1
question
Computers and Technology, 23.06.2019 06:40
What are the three uses of a screw?
Answers: 2
You know the right answer?
# Your Name - DATE # To_lowercase. asm-- A program that convert uppercase to lowercase # Registers u...
Questions
question
Mathematics, 16.10.2019 21:20
Questions on the website: 13722360