Skip to content

Commit

Permalink
lab0
Browse files Browse the repository at this point in the history
  • Loading branch information
Jerry Shi committed Jan 15, 2023
1 parent 2806245 commit a76c000
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 0 deletions.
Binary file added lab0/lab0-numbers.pdf
Binary file not shown.
53 changes: 53 additions & 0 deletions lab0/lab0.md
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.

0 comments on commit a76c000

Please sign in to comment.