forked from suz11001/cse3666-2023spring
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Jerry Shi
committed
Jan 15, 2023
1 parent
2806245
commit a76c000
Showing
2 changed files
with
53 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
# Getting prepared | ||
|
||
*Deadline:* Friday, 1/20/2023. | ||
|
||
We will keep the submission open until Wed, 2/1/2023, for students who enroll | ||
into the course late. | ||
|
||
Check | ||
|
||
*If you work on a lab computer or UConn AnyWare Desktop, save your files to | ||
cloud storage like OneDrive. Otherwise, you may lose your files.* | ||
|
||
## Learning Objectives | ||
|
||
* Run a RISC-V programs in RARS. | ||
|
||
* Submit code in Gradescope. | ||
|
||
* Conversion of non-negative numbers to a different radix. | ||
|
||
* Take a quiz in HuskyCT. | ||
|
||
## Description | ||
|
||
### Task 1 | ||
|
||
Follow the instructions on [this page](https://github.com/zhijieshi/cse3666/blob/master/misc/rars.md) | ||
to install RARS and run RISC-V programs in RARS. | ||
|
||
Copy code in `01-hello.s` to a new file `lab0.s`. Modify the `msg` string so | ||
the program prints the following. There is no space after the ending dot. | ||
|
||
Hello, welcome to CSE 3666. Spring is coming. | ||
|
||
Submit `lab0.s` in Gradescope. There is a link in HuskyCT. | ||
|
||
### Task 2 | ||
|
||
Study the slides in `lab0-numbers.pdf` to learn/review converson of numbers of | ||
different radices. | ||
|
||
* Binary to decimal. | ||
* Decimal to binary. | ||
* Hexadecimal to decimal. | ||
* Decimal to hexadecimal. | ||
|
||
Practice on [this page](https://zhijieshi.github.io/cse3666/binarynumbers/). | ||
For now, you can click the Config button and uncheck "Bits are signed". | ||
|
||
## Deliverables | ||
|
||
Submit `lab0.s` in Gradescope and complete quiz lab0 in HuskyCT. | ||
|