Comments (2)
You are absolutely right and I have pushed the fix.
As for time and timeh, there is some discussion of them in #3 and @zacharyselk ended up making a tool to handle a MMIO time register and interrupts.
The gist of why the time CSR is not implemented is that just assigning it from system time seems like it might lead to problems when interactively debugging a program. So I decided to leave it unimplemented at least until I had a few community who might have an opinion on what behavior it should have.
I am certainly open to implementing those CSRs if you think that a direct mapping from system time is a good solution.
from rars.
I agree.
from rars.
Related Issues (20)
- Immediate value in hexadecimal when MSB is 1 gives error for Immediate instructions HOT 5
- Bug with `fgt.s` command HOT 2
- Bug with `fmv.w.x` command HOT 2
- Help for "digital lab sim" could be improved HOT 1
- Adding support for "<tag>:" type label & offset dumped from elf file HOT 1
- Add any missing psudeo-ops
- Closing confirm dialog (ecall 50) returns in a0 the same as pressing No button
- 4k monitor font too small HOT 3
- Help. Cannot assemble and Exception occurs HOT 4
- Warning while building from sources
- NullPointerException performing input from /dev/null
- Add assembler directive .global as synonym for .globl HOT 3
- Add a Environment Call like ReadChar but that does not echo (KEY in Forth) HOT 2
- Loading 32-bit Values HOT 2
- Assemble from command line in 64 bit mode HOT 2
- ld doesn't support the same operands as lw HOT 2
- fmadd / fmsub error when adding with zero HOT 1
- Incorrect file name in errors when using .import
- Issues on MAC regarding saving/reading files through rars HOT 5
- Hang on M1 Macs using MMIO display HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rars.