Pipeline - the Default Content of the Instruction and Data Memory Unit
Back to Documentation "pipeline1" |
Mips Instruction Set |
Register File Content |
Usage "pipeline1" |
Component "pipeline2" |
Component "pipeline3"
This page gives an example for the memory contents of the pipeline components.
The first table below specifies the default content of the instruction memory unit.
It shows the MIPS instructions, which will be executed during the
visualisation in two different formats, as bitstring and as assembler
instructions. These instructions will be loaded from the file
"imem.bin" at the beginning of the visualisation.
The second table specifies the default content of the data memory unit.
It gives the data values in two different formats, as bitstring and as integer
values. These data values will be loaded from the file
"dmem.bin".
|
Line No.
|
Mem. Adr.
|
Bitstring
|
Instruction
|
0:
|
0
|
000000 00011 01000 00001 00000 100000
|
add $1 $3 $8
|
1:
|
4
|
000000 00100 00001 00010 00000 100010
|
sub $2 $4 $1
|
2:
|
8
|
000000 00001 00111 00110 00000 100100
|
and $6 $1 $7
|
3:
|
12
|
000000 00001 01001 01000 00000 100101
|
or $8 $1 $9
|
4:
|
16
|
000000 00001 01001 01000 00000 100110
|
xor $8 $1 $9
|
5:
|
20
|
100011 00010 00001 00000 00000 000000
|
lwl $1 0($2)
|
6:
|
24
|
000000 00101 00001 00100 00000 100010
|
sub $4 $5 $1
|
7:
|
28
|
000000 00001 00111 00110 00000 100100
|
and $6 $1 $7
|
8:
|
32
|
000000 00001 01001 01000 00000 100101
|
or $8 $1 $9
|
9:
|
36
|
000000 00001 01011 01010 00000 100110
|
xor $10 $1 $11
|
10:
|
40
|
000100 00010 00100 0000000000001000
|
beq $2 $4 8
|
11:
|
44
|
001000 00010 01000 0000000000000001
|
addi $8 $2 1
|
12:
|
48
|
000000 00011 01000 00001 00000 100000
|
add $1 $3 $8
|
13:
|
52
|
000000 00100 00001 00010 00000 100010
|
sub $2 $4 $1
|
14:
|
56
|
000000 00000 00000 00000 00000 000000
|
nop
|
15:
|
60
|
000000 00000 00000 00000 00000 000000
|
nop
|
....
|
|
31:
|
124
|
000000 00000 00000 00000 00000 000000
|
nop
|
|
Line No.
|
Data Value
|
0:
|
00000000011010000000100000100000
|
1:
|
00000000100000010001000000100010
|
2:
|
00000000001001110011000000100100
|
3:
|
00000000001010010100000000100101
|
4:
|
00000000001010010101000000100110
|
5:
|
10001100010000010000000000000000
|
6:
|
00000000101000010010000000100010
|
7:
|
00000000001001110011000000100100
|
8:
|
00000000001010010100000000100101
|
9:
|
00000000001010110101000000100110
|
10:
|
00010000010001000000000000001000
|
11:
|
00100000010010000000000000000001
|
12:
|
00000000011010000000100000100000
|
13:
|
00000000100000010001000000100010
|
14:
|
00000000000000000000000000000000
|
15:
|
00000000000000000000000000000000
|
|
To the Top |
Back to Documentation "pipeline1" |
Mips Instruction Set |
Register File Content |
Usage "pipeline1" |
Component "pipeline2" |
Component "pipeline3"
|