ABCDEFGHIJKL
1
2
3
In aceasta rezolvare am initializat cu 26 si 34 cei 2 registri.
4
5
6
7
ex1 + ex2ex 3
8
axbxinstructiunecicli per cpustare1stare2cpu3stare3
9
cpu1cpu2jg _greaterjl _lessje _pwp
10
26mov ax 2611NTSNT1SNTSNTSNT
11
34mov bx 34111
12
cmp ax bx111
13
jg _greater222
14
jl _less2020TWNT20WNT
15
8sub bx,ax111
16
jmp222
17
cmp ax bx111
18
268jg _greater220WT20WNT
19
18sub ax,bx111
20
jmp222
21
188cmp ax bx111
22
jg _greater22ST20WT
23
10sub ax,bx111
24
jmp222
25
108cmp ax bx111
26
jg _greater222ST
27
2sub ax,bx111
28
jmp222
29
28cmp ax bx111
30
jg _greater2020NTWT20WT
31
jl _less202TST20WT
32
6sub bx,ax111
33
jmp222
34
26cmp ax bx111
35
jg _greater2020NTWT20WNT
36
jl _less202TST2ST
37
4sub bx,ax111
38
jmp222
39
24cmp ax bx111
40
jg _greater2020NTWT2SNT
41
jl _less202TST2ST
42
2sub bx,ax111
43
jmp222
44
22cmp ax bx111
45
jg _greater2020NTWT2SNT
46
jl _less220WNT20WT
47
je _pwp2020TWT20WNT
48
22print ax111
49
FINAL (Total/stare finala)222204TWT204SNTWTWNT
50
unitate masuransnsns
51
3) speedup este 1 (204/204)