diff --git a/README.md b/README.md deleted file mode 100644 index cf5965e..0000000 --- a/README.md +++ /dev/null @@ -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) -
diff --git a/cos235-hw02-pease-nicholas-0001.tgz b/cos235-hw02-pease-nicholas-0001.tgz new file mode 100644 index 0000000..187f4bb Binary files /dev/null and b/cos235-hw02-pease-nicholas-0001.tgz differ diff --git a/cos235-hw02-pease-nicholas-0001/README.md b/cos235-hw02-pease-nicholas-0001/README.md new file mode 100644 index 0000000..b93d636 --- /dev/null +++ b/cos235-hw02-pease-nicholas-0001/README.md @@ -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 \ No newline at end of file diff --git a/hw.s b/cos235-hw02-pease-nicholas-0001/hw.s similarity index 98% rename from hw.s rename to cos235-hw02-pease-nicholas-0001/hw.s index 711e019..fc9e626 100644 --- a/hw.s +++ b/cos235-hw02-pease-nicholas-0001/hw.s @@ -1,6 +1,6 @@ # COS235 - HW2 # Nicholas Pease -# 30 SEP 24 +# 1 OCT 2024 .data inputUInt: .space 32