mywiki:hw:mips:mipssimulator
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| mywiki:hw:mips:mipssimulator [2014/07/26 18:32] – shaoguoh | mywiki:hw:mips:mipssimulator [2022/04/02 17:29] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| MIPS Simulator-SPIM | MIPS Simulator-SPIM | ||
| - | | {{: | + | ====== SPIM Simulator for Windows ====== |
| + | | {{: | ||
| + | | [[pcspim_syscall]] | | ||
| + | |||
| + | ====== SPIM Example 1 ====== | ||
| <file asm test1.asm > | <file asm test1.asm > | ||
| Line 60: | Line 64: | ||
| + | |||
| + | ====== SPIM Example 2 ====== | ||
| + | <file asm test2.asm> | ||
| + | ## addEm.asm | ||
| + | ## program to add two integers | ||
| + | ## | ||
| + | .text | ||
| + | .globl | ||
| + | |||
| + | main: | ||
| + | la $t0, | ||
| + | lw $t1, | ||
| + | lw $t2, | ||
| + | sll | ||
| + | addu $t1, | ||
| + | |||
| + | .data | ||
| + | val0: | ||
| + | val1: | ||
| + | val2: | ||
| + | val3: | ||
| + | val4: | ||
| + | val5: | ||
| + | |||
| + | </ | ||
mywiki/hw/mips/mipssimulator.1406370770.txt.gz · Last modified: (external edit)
