Computers and Technology, 20.03.2020 10:21 5921000521
# 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
Answers: 2
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
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
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
# Your Name - DATE # To_lowercase. asm-- A program that convert uppercase to lowercase # Registers u...
History, 16.10.2019 21:20
Mathematics, 16.10.2019 21:20