MIPS Example Programs — ECS Networking Skip to content. | Skip to navigation Personal tools Log in Search Site only in current section Advanced Search… Navigation Home ECPE 170 Cluster Past Courses Research Contact Info You are here: Home / ECPE 170 / Tutorials / MIPS Example Programs Info MIPS Example Programs The following example programs are available: Name Summary example1.asm Basic arithmetic with registers example2_hello_world.asm Print a "Hello World" message to simulator output example3_io.asm Input, output, and arithmetic example4_loop.asm while() loop that computes the sum of N numbers example5_function_without_stack.asm Function call without using a stack. (C code) example5_function_with_stack.asm Function call that uses a stack to preserve registers - recommended method! (C code) example6_loop_with_function.asm while() loop that computes the sum of N numbers (uses a function, but otherwise identical to example4) Contents Virtual Machine Setup QtSpim Tutorial MIPS Instruction Set MIPS Example Programs gedit Syntax Highlighting © 2021 University of the Pacific, School of Engineering and Computer Science Powered by Plone & Python Site Map Accessibility Contact