Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/wyvernsemi/sparc

Sparc version 8 Instruction Set Simulator
https://github.com/wyvernsemi/sparc

32-bits c-plus-plus cpu-model iss processor simulator sparc v8

Last synced: about 5 hours ago
JSON representation

Sparc version 8 Instruction Set Simulator

Awesome Lists containing this project

README

        

# Sparc version 8 Instruction Set Simulator



A Sparc v8 Instruction Set Simulator (ISS) written in C, with hooks for external software models and co-simulation.
The supported instructions are shown below:

```
Load: LDSB LDSH LDUB LDUH LD LDD
Store: STB STH ST STD
Atomic: SWAP LDSTUB
Misc: SETHI NOP
Logical: AND ANDcc ANDN ANDNcc OR ORcc ORN ORNcc XOR XORcc XNOR XNORcc
Shift: SLL SRL SRA
Add: ADD ADDcc ADDX ADDXcc
Subtract: SUB SUBcc SUBX SUBXcc
Multiply: UMUL UMULcc SMUL SMULcc
Divide: UDIV UDIVcc SDIV SDIVcc
Tagged add: TADDcc TADDcc TSUBccTV TSUBccTV
Multiply Step: MULScc
Window: SAVE RESTORE
Branch: Bicc
Prog control: CALL JMPL
Trap: RETT Ticc
Read Regs: RDY RDPSR RDWIM RDTBR
Write Regs: WRY WRPSR WRWIM WRTBR
Mem Sync: STBAR FLUSH
Unimplemented: UNIMP
```

More details of this project can be found in doc/sparc_iss.pdf within this repository.