Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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).