This commit is contained in:
2024-10-01 22:53:37 -04:00
parent d4e77a8caf
commit c745a3fa51
4 changed files with 18 additions and 8 deletions
-7
View File
@@ -1,7 +0,0 @@
## COS235-HW2 ##
[![](https://gitea-actions.nicholaspease.com/actions/umaine-npease/COS235-HW2/badge?label=build&style=flat&branch=main)](https://gitea-actions.nicholaspease.com/latest-log?branch=main)
[![](https://drone.nicholaspease.com/api/badges/umaine-npease/COS235-HW2/status.svg)](https://drone.nicholaspease.com/umaine-npease/COS235-HW2)
[![](https://wakaapi.nicholaspease.com/api/badge/LAX18/interval:any/project:COS235-HW2)](https://wakaapi.nicholaspease.com/summary?interval=any&project=COS235-HW2)
![](https://server1.nicholaspease.com/badges/cloc/npease/COS235-HW2.svg)
<hr>
Binary file not shown.
+17
View File
@@ -0,0 +1,17 @@
COS235 HW2
Nicholas Pease
1 OCT 2024
Description:
This program is an implementation of the Collatz conjecture in RISCV assembly. It accepts a 32 bit number and runs the conjecture until it results in 1, where it then exits
Execution:
This program requires RARS (https://github.com/TheThirdOne/rars) and JDK.
To execute the program with RARS, run the following command
java -jar rars1_6.jar hw.s
With rars1_6 being the current version of RARS and in the same directory as the file
@@ -1,6 +1,6 @@
# COS235 - HW2
# Nicholas Pease
# 30 SEP 24
# 1 OCT 2024
.data
inputUInt: .space 32