7
9.4.2003
Teemu Kerola, Copyright 2003
Konekielinen
ohjelmointi
for (int i=20; i < 50; ++i)
T[i] = 0;
I
DC
0
…
LOAD
R1, =20
STORE R1, I
Loop
LOAD
R2, =0
LOAD
R1, I
STORE R2, T(R1)
LOAD
R1, I
ADD
R1, =1
STORE R1, I
LOAD
R3, I
COMP
R3, =50
JLES
Loop