3.4.2003
Teemu Kerola, Copyright 2003
–s DC
0
–i DC
1
–
–0: Taas LOAD
R1, i
–1: MUL R1, R1
–2: ADD R1, s
–3: STORE R1, s
–4: LOAD R1, i
–5: ADD R1, =1
–6: STORE R1, i
–7: COMP R1, =21
–8: JLES Taas
–9: SVC SP, =HALT
–10: 0 ; siis s = 10
–11: 1 ; i = 11
Koodi & data 1. vaiheen jälkeen
Kaikilla
symboleilla
tunnettu
arvo