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

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 07:00, sugaree95
What are three software programs for mobile computing?
Answers: 1
image
Computers and Technology, 23.06.2019 23:40, dudedude1593
Which of the following calculates the total from the adjacent cell through the first nonnumeric cell by default, using the sum function in its formula? -average -autosum -counta -max
Answers: 1
image
Computers and Technology, 24.06.2019 06:30, chloeholt123
For which utilities, if any, does the landlord pay?
Answers: 2
image
Computers and Technology, 24.06.2019 17:50, veneciaconton347
You will subnet the network address 172.31.103.0/24. the network has the following requirements: · room-114 lan will require 27 host ip addresses · room-279 lan will require 25 host ip addresses · room-312 lan will require 14 host ip addresses · room-407 lan will require 8 host ip addresses how many subnets are needed in the network topology?
Answers: 2
You know the right answer?
# Your Name - DATE # To_lowercase. asm-- A program that convert uppercase to lowercase # Registers u...

Questions in other subjects:

Konu
Spanish, 23.02.2021 21:20