Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/belanasaikiran/computer-architecture
A UCONN course
https://github.com/belanasaikiran/computer-architecture
Last synced: about 2 months ago
JSON representation
A UCONN course
- Host: GitHub
- URL: https://github.com/belanasaikiran/computer-architecture
- Owner: belanasaikiran
- Created: 2024-09-11T13:12:24.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-11-27T21:21:26.000Z (about 2 months ago)
- Last Synced: 2024-11-27T22:26:38.619Z (about 2 months ago)
- Language: C
- Size: 2.85 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Computer-Architecture
A UCONN course### Helpful Resources
C Bitwise Operators: [https://www.youtube.com/watch?v=BGeOwlIGRGI](https://www.youtube.com/watch?v=BGeOwlIGRGI)
### RISC V
![RiscV-Opcode-Table.png](./Images/RiscV-Opcode-Table.png)
### GDB Debugger
1. Start GDB debugger for code compilation
```bash
gdb ./simulator
```2. Set a Breakpoint where you want to
```bash
(gdb) break main
```3. Run the Program: Start running the program:
```bash
Copy code
(gdb) run
```
> The program will run and pause at the breakpoint you've set.
4. Find the Struct Information: If you know the name of the struct instance, use the `ptype` command to print the type definition of the struct. This will reveal all its members.For example:
```bash
(gdb) ptype struct_instance
```
> This will print the struct definition, including the data members (names and types).