To content
Department of Computer Science

PIPELINE1 - THE DEFAULT CONTENT OF THE INSTRUCTION AND DATA MEMORY UNIT

This page gives an example for the memory contents of the "pipeline1" component. The first table below specifies the default content of the instruction memory unit. It shows the MIPS instructions, which will be executed during the visualization 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".

Default Content of the Instruction Memory Unit

Line
No.

Mem.
Adr.

Bitstring

 

Instruction

0 0 00000000011010000000100000100000   add $1, $3, $8
1 4 00000000100000010001000000100010   sub $2, $4, $1
2 8 00000000001001110011000000100100   and $6, $1, $7
3 12 00000000001010010100000000100101   or $8, $1, $9
4 16 00000000001010010100000000100110   xor $8, $1, $9
5 20 10001100110000010000000000000000   lw $0, 0($6)
6 24 00000000101000010010000000100010   sub $4, $5, $1
7 28 00000000001001110011000000100100   and $6, $1, $7
8 32 10101100111001010000000000000001   sw $5, 1($7)
9 36 00000000001010110101000000100110   xor $10, $1, $11
10 40 00010000001001010000000000001000   beq $1, $5, label1
11 44 00100000010010000000000000000001   addi $8, $2, 1
12 48 00010000001001110000000000001000   beq $1, $7, label2
13 52 00000000100000010001000000100010 label1: sub $2, $4, $1
14 56 00010000001001010000000000001000   beq $1, $5, label3
15 60 00000000001001110011000000100100 label2: and $6, $1, $7
16 64 00000000001010010100000000100101   or $8, $1, $9
17 68 00000000001010010100000000100110 label3: xor $8, $1, $9
18 72 10001100110000010000000000000000   lw $0, 0($6)
19 76 00000000101000010010000000100010   sub $4, $5, $1
20 80 00000000001001110011000000100100   and $6, $1, $7
21 84 00000000001010010100000000100101   or $8, $1, $9
22 88 00000000001010110101000000100110   xor $10, $1, $11
23 92 00010000001001010000000000001000   beq $1, $5, label4
24 96 00100000010010000000000000000001   addi $8, $2, 1
25 100 00000000011010000000100000100000 label4: add $1, $3, $8
...

Default Content of the Data Memory Unit

Line
No.

Data Value

 

Line
No.

Data Value

0: 00000000000000000000000000000000   16: 00000000000000000000000000010000
1: 00000000000000000000000000000011   17: 00000000000000000000000000010001
2: 00000000000000000000000000000100   18: 00000000000000000000000000010010
3: 00000000000000000000000000000111   19: 00000000000000000000000000010011
4: 00000000000000000001000000111100   20: 00000000000000000000000000010100
5: 00000000000000000000000000000101   21: 00000000000000000000000000010101
6: 00000000000000000000000000001011   22: 00000000000000000000000000010110
7: 00000000000000000000000000000111   23: 00000000000000000000000000010111
8: 00000000000000000000000000001000   24: 00000000000000000000000000011000
9: 00000000000000000000000000001001   25: 00000000000000000000000000011001
10: 00000000000000000000000000001010   26: 00000000000000000000000000011010
11: 00000000000000000000000000001011   27: 00000000000000000000000000011011
12: 00000000000000000000000000001100   28: 00000000000000000000000000011100
13: 00000000000000000000000000001101   29: 00000000000000000000000000011101
14: 00000000000000000000000000001110   30: 00000000000000000000000000011110
15: 00000000000000000000000000001111   31: 00000000000000000000000000011111