Sprungmarken

Servicenavigation

Hauptnavigation


You are here:

Home Teaching Downloads Ravi Documentation Microprog Content of the Memory Unit

Bereichsnavigation

Hauptinhalt

Microprog - the Default Content of the Memory Unit

This page gives an example for the memory content of the component "microprog.hds". The table below specifies the default content of the 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 "mem.bin" at the beginning of the visualisation. The assembler program can be found in the file "microprog-asm.ass".

Line
No.

Mem.
Adr.

Bitstring


Instruction

0 0 00000000111000010100000000100101
or $8, $7, $1
1 4 00000000001001000001000000100110
xor $2, $1, $4
2 8 00000001100101010011100000100111
nor $7, $12, $21
3 12 00001000000000000000000000001000
j label1
4 16 00100000011000100000000000011110
addi $2, $3, 30
5 20 00101001001001010000000000110010
slti $5, $9, 50
6 24 00110000010001110000000000010101
andi $7, $2, 21
7 28 00111000001010000000000001000001
xori $8, $1, 65
8 32 00000000101010000001100000000111 label1: srav $3, $8, $5
9 36 00000000001000100010100000000100
sllv $5, $2, $1
10 40 00000000110001000001000000000110
srlv $2, $4, $6
11 44 00000000010000010001100000011000
mul $3, $2, $1
12 48 00000001001000010011100000011010 label2: div $7, $9, $1
13 52 00000000001011110001000000100000
add $2, $1, $15
14 56 00000001001100000010000000100010
sub $4, $9, $16
15 60 00000000001001110011000000100100
and $6, $1, $7
16 64 00100000011000100000000000011110 label3: addi $2, $3, 30
17 68 00101001001001010000000000110010
slti $5, $9, 50
18 72 00110000010001110000000000010101
andi $7, $2, 21
19 76 00111000001010000000000001000001
xori $8, $1, 65
20 80 00000011001010111011100000101010
slt $23, $25, $11
21 84 10001100010000110000000000000101
lw $3, 5($2)
22 88 10101100101010010000000000000011
sw $9, 3($5)
23 92 00000000000000000000000000000000
24 96 00000000000000000000000000000000
25 100 00000000000000000000000000000000
26 104 00010100011010001111111110111100
value "342425532"
27 108 00000000010000010001100000011000
value "4194304"
28 112 00000001001000010011100000011010
value "18954266"
29 116 00000000001011110001000000100000
value "3084320"
30 120 00000001001100000010000000100010
value "19931170"
31 124 00000000001001110011000000100100
value "2568288"