Skip to content

Commit

Permalink
Merge branch 'main' of github.com:eborin/riscv-programming
Browse files Browse the repository at this point in the history
  • Loading branch information
eborin committed May 31, 2024
2 parents 072b574 + 83f9d53 commit 64cc629
Show file tree
Hide file tree
Showing 8 changed files with 159 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[submodule "ale"]
path = ale
url = https://github.com/antoniocgj/RISC-V-ALE.git
[submodule "ale-exercise-book"]
path = ale-exercise-book
url = https://github.com/discovery-unicamp/ale-exercise-book.git
1 change: 1 addition & 0 deletions ale-exercise-book
Submodule ale-exercise-book added at d33c85
3 changes: 3 additions & 0 deletions book.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@
<li class="nav-item active">
<a class="nav-link" href="./book.html">Book</a>
</li>
<li class="nav-item">
<a class="nav-link" href="./exercise-book.html">Exercises</a>
</li>
<li class="nav-item">
<a class="nav-link" href="./simulator.html">Simulator</a>
</li>
Expand Down
8 changes: 7 additions & 1 deletion contact.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@
<li class="nav-item">
<a class="nav-link" href="./book.html">Book</a>
</li>
<li class="nav-item">
<a class="nav-link" href="./exercise-book.html">Exercises</a>
</li>
<li class="nav-item">
<a class="nav-link" href="./simulator.html">Simulator</a>
</li>
Expand Down Expand Up @@ -83,7 +86,10 @@
<div class="col-md-12">
<h2>Contacting the Authors</h2>
<p>
To contact the authors regarding the Book or the RISC-V ALE, please send an e-mail to <a href="mailto:[email protected]">[email protected]</a>.
To contact the authors regarding the Book, Exercise Book or the RISC-V ALE, please send an e-mail to <a href="mailto:[email protected]">[email protected]</a>.
</p>
<p>
Problems regarding the Exercise Book can also be reported via Issues at the GitHub repository at <a href="https://github.com/discovery-unicamp/ale-exercise-book/issues" target="_blank">https://github.com/discovery-unicamp/ale-exercise-book/issues</a>.
</p>
</div>
<div class="col-md-12">
Expand Down
111 changes: 111 additions & 0 deletions exercise-book.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
<!doctype html>
<html lang="en">
<head>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-K44SMSMGJJ"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-K44SMSMGJJ');
</script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<link rel="icon" href="bootstrap-4.0.0/favicon.ico">

<title>RISC-V Assembly Programming: About the Book</title>

<!-- Bootstrap core CSS -->
<link href="bootstrap-4.0.0/dist/css/bootstrap.min.css" rel="stylesheet">

<!-- Custom styles for this template -->
<link href="jumbotron.css" rel="stylesheet">
</head>

<body>

<nav class="navbar navbar-expand-md navbar-dark fixed-top bg-dark">

<div class="collapse navbar-collapse" id="navbarsExampleDefault">
<ul class="navbar-nav mr-auto">
<li class="nav-item">
<a class="nav-link" href="./index.html">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="./book.html">Book</a>
</li>
<li class="nav-item active">
<a class="nav-link" href="./exercise-book.html">Exercises</a>
</li>
<li class="nav-item">
<a class="nav-link" href="./simulator.html">Simulator</a>
</li>
<li class="nav-item">
<a class="nav-link" href="./contact.html">Contact</a>
</li>
</ul>
</div>
</nav>

<main role="main">

<!-- Main jumbotron for a primary marketing message or call to action -->
<div class="jumbotron" >
<div class="container">
<table>
<tbody>
<tr>
<td style="vertical-align:middle; width:200px">
<a target="_blank" href="ale-exercise-book/book/index.html"><img width="200px" src="images/exercise-book-cover.png"/></a>
</td>
<td style="vertical-align:middle; padding-left: 50pt;">
<h1 class="display-5">RISC-V ALE Exercise Book</h1>
</td>
</tr>
</tbody>
</table>

</div>
</div>

<div class="container">
<!-- Example row of columns -->
<div class="row">

<!-- Section -->
<div class="col-md-12">
<h2>Overview</h2>
<p><a href="ale-exercise-book/book/index.html" target="_blank">RISC-V ALE Exercise Book</a> is a set of complementary exercises for the textbook <a href="book/riscv-book.html" target="_blank">An Introduction to Assembly Programming with RISC-V</a>
Its exercises covers topics from using the necessary tools to generating files and using the ALE simulator to writing assembly code to interect with external devices.
</p>
<p>
Most of the exercises were made to be executed on the <a href="ale/">RISC-V Assembly Learn Environment</a>.
</p>
</div>

<!-- Section -->
<div class="col-md-12">
<h2>Target audience</h2>
<p>This book is intended for people that are studying RISC-V programming and want to practice assembly programming.
</div>
</div>

<hr>

</div> <!-- /container -->

</main>

<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
<script>window.jQuery || document.write('<script src="bootstrap-4.0.0/assets/js/vendor/jquery-slim.min.js"><\/script>')</script>
<script src="bootstrap-4.0.0/assets/js/vendor/popper.min.js"></script>
<script src="bootstrap-4.0.0/dist/js/bootstrap.min.js"></script>
</body>
</html>
Binary file added images/exercise-book-cover.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
32 changes: 31 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@
<li class="nav-item">
<a class="nav-link" href="./book.html">Book</a>
</li>
<li class="nav-item">
<a class="nav-link" href="./exercise-book.html">Exercises</a>
</li>
<li class="nav-item">
<a class="nav-link" href="./simulator.html">Simulator</a>
</li>
Expand Down Expand Up @@ -122,11 +125,38 @@ <h2>The Book</h2>
</table>
</div>
<div class="col-md-6">
<h2>The Simulator</h2>
<h2>ALE Exercise Book</h2>
<table class="table">
<tbody>
<tr>
<td style="width:150px">
<a href="ale-exercise-book/book/index.html"><img src="images/exercise-book-cover.png" width="150"/></a>
</td>
<td style="vertical-align:middle">
<p>
Complementary exercises to the textbook.</br>The exercises use the ALE Simulator.
</p>
<p>
<a class="btn btn-secondary" href="exercise-book.html" role="button">More details &raquo;</a>
</p>
</td>
</tr>
<!--
<tr>
<td><a href="https://a.co/d/gUfKWsD" target="_blank"><img src="images/available-at-amazon.png" width="100" height="40"/></a></td>
</tr>
https://www.amazon.com/Introduction-Assembly-Programming-RISC-V/dp/6500158113 -->
<!-- https://a.co/d/gUfKWsD -->

</tbody>
</table>
</div>
<div class="col-md-12">
<h2>The Simulator</h2>
<table class="table">
<tbody>
<tr>
<td style="width:300px">
<a href="ale/"><img src="images/simulator-icon.jpg" width="150"/></a>
</td>
<td style="vertical-align:middle">
Expand Down
3 changes: 3 additions & 0 deletions simulator.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@
<li class="nav-item">
<a class="nav-link" href="./book.html">Book</a>
</li>
<li class="nav-item">
<a class="nav-link" href="./exercise-book.html">Exercises</a>
</li>
<li class="nav-item active">
<a class="nav-link" href="./simulator.html">Simulator</a>
</li>
Expand Down

0 comments on commit 64cc629

Please sign in to comment.