1 Star 3 Fork 2

shinian / mips exercise

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

mips exercise

介绍

一些MIPS汇编经典练习题

题目

  • recursion.asm: 递归求解斐波那契数列某项
  • prime.asm: 求100以内所有素数
  • swap.asm: 交换两个字符串
  • reverse.asm: 反转输入的字符串
  • multiply.asm: 两数相乘
  • dec2bin.asm: 十进制转二进制
  • bubbl.asm: 冒泡排序
  • tolower.asm: 将输入的字符串大写转小写
  • strcmp.asm: 比较输入的字符串
  • 3sum.asm: 三数之和
  • echo.asm: 回显输入字符
  • even_odd.asm: 判断奇偶数
  • palindrome.asm: 判断回文数
  • reverse_num.asm: 反转整型数字
  • toupper.asm: 将输入的字符串小写转大写
  • c2f.asm: 摄氏度转华氏度
  • strcpy.asm: C语言strcpy函数
  • factorial.asm: 递归求阶乘
  • permutation.asm: 4个数中取3个数进行全排列
  • solve_equation.asm: x + 100 = n^2, x + 100 + 168 = m^2, 求x,m,n
  • day_of_year.asm: 求某年某月某日为该年的第几天
  • beautiful.asm: 打印漂亮的X图案
  • print_c.asm: 打印C图案
  • simple_sort.asm: 排序三个数
  • 9x9.asm: 打印9x9乘法表
  • chessboard.asm: 打印棋盘
  • prime2.asm: 打印100~200间的所有素数,每5个一行
  • rabbit.asm: 循环求斐波那契数列,每4个一行
  • narcissus.asm: 求水仙花数
  • decomposition.asm: 因数分解
  • grade.asm: 成绩分类
  • gcd&lcm.asm: 最大公因数和最小公倍数
  • count.asm: 对字符串中不同种类字符进行计数
  • drop.asm: 小球自由下落
  • perfect_num.asm: 求1000以内完全数
  • peach.asm: 猴子吃桃问题
  • pingpong.asm: 乒乓比赛问题
  • diamond.asm: 打印菱形
  • sequence.asm: 数列求和 (2/1,3/2,5/3,8/5,13/8,21/13...)
  • sequence2.asm: 数列求和 (1+2!+3!+...+20!)
  • reverse_r.asm: 递归反转输入字符
  • age.asm: 递归求年龄
  • weekday.asm: 根据输入的字符确定星期几
  • delete_char.asm: 删除字符串中指定字符
  • function.asm: 输出三个hello world
  • prime3.asm: 素数筛法求素数
  • select_sort.asm: 选择排序
  • insert.asm: 在排序数组中插入一个数
  • matrix.asm: 计算矩阵主对角线元素之和
  • reverse_arr.asm: 反转数组
  • heap_sort.asm: 堆排序
MIT License Copyright (c) 2021 ginko Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

一些MIPS汇编练习题 展开 收起
Assembly 等 2 种语言
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Assembly
1
https://gitee.com/shinian9712/mips-exercise.git
git@gitee.com:shinian9712/mips-exercise.git
shinian9712
mips-exercise
mips exercise
master

搜索帮助

14c37bed 8189591 565d56ea 8189591