probably done?

This commit is contained in:
Nikolaj
2021-12-17 13:10:08 +01:00
parent 19ea6644e4
commit bdfb4ec7c2
9 changed files with 46 additions and 27 deletions

View File

@ -1,25 +1,13 @@
1 0
0
2 6
0
3 c
0
4 12
0
5 15
0
6 17
0
7 1d
0
8 1f
0
9 22
0
10 24
0
11 2a
0
12 2c
0
Done

View File

@ -1,18 +1,9 @@
1 0
0
2 6
1
3 8
0
4 b
0
5 25
0
6 3d
0
7 3f
0
8 45
0
-- value mismatch, access 'P' 0
-- with value 47, but tracefile expected 0
Done

9
A5/test_runs/test3.hex Normal file
View File

@ -0,0 +1,9 @@
00000000 : # test:
00000000 : 645064000000 # movq $100, %rsi
00000006 : 64000a000000 # movq $10, %rax
0000000c : 3905 # movq %rax, (%rsi)
0000000e : 500002000000 # addq $2, %rax
00000014 : 3105 # movq (%rsi), %rax
00000016 : 500002000000 # addq $2, %rax
0000001c : 3905 # movq %rax, (%rsi)
0000001e : 0000 # stop

9
A5/test_runs/test3.out Normal file
View File

@ -0,0 +1,9 @@
1 0
2 6
3 c
4 e
5 14
6 16
7 1c
8 1e
Done

1
A5/test_runs/test3.sym Normal file
View File

@ -0,0 +1 @@
test : 00000000

16
A5/test_runs/test3.trc Normal file
View File

@ -0,0 +1,16 @@
P 0 0
R 5 64
P 0 6
R 0 a
P 0 c
M 64 a
P 0 e
R 0 c
P 0 14
R 0 a
P 0 16
R 0 c
P 0 1c
M 64 c
P 0 1e
P 0 20