Question: Daw a flow chart for the MIPS assembly code .data ogstate: asciiz UCF, its athletic program, and the university's alumni and sports fans are sometimes
Daw a flow chart for the MIPS assembly code





.data ogstate: asciiz "UCF, its athletic program, and the university's alumni and sports fans are sometimes jointly referred to as the UCF Nation, and are represented by the mascot Knightro. The Knight was chosen as the university mascot in 1970 by student election. The Knights of Pegasus was a submission put forth by students, staff, and faculty, who wished to replace UCF's original mascot, the Citronaut, which was a mix between an orange and an astronaut. The Knights were also chosen over Vincent the Vulture, which was a popular yuofficial mascot among students at the time. In 1994, Knightro, debuted as the Knights official athletic mascot." fword: .space 10 word: .space 10 newLine: asciiz " " prompt1: asciiz "Please input first word: " prompt2: .asciiz "Please input second word: 11 colon: dash: asciiz. ":" asciiz. "---" dash2: .asciiz "_" hash: asciiz. "#" .text # Starting point for code/programm main: la $al.newLine, #Print a new line li $v0,4 #store/read int sys.call la $a0.prompt1 # enter the first string. li $v0,4 #reading an integer sys.call li $v0, 8 # read input string la $a0, fword #places li $al, 9 #systen call to load syscall la $a0.prompt2 # Prompt the user to enter the second string. li $v0,4 #reading an integer sys.call li $v0, 8 # I read input string la $a0, word #places li $al, 9 sys.call #systen call to load immediate li $t4,0 #counter to 0 la $t0.gstate # Store statement. nstart1: la $t1.fword. # Store the search word into $t1 loop1: lb $12, ($t0) # Load the starting address lb $t3, ($t1) # Load the starting address of input word beg $t3, ' ', inc_counter1 #new line beaz. $13..ins.counter1 # If null, exit loop beaz. $t2.print output1, # If null, exit loop move $a0,$t2 # Convert $t2 to lowerer, case
Step by Step Solution
3.44 Rating (167 Votes )
There are 3 Steps involved in it
The skin friction coefficient Cf for a laminar boundary ... View full answer
Get step-by-step solutions from verified subject matter experts
