feld IS $0 n IS $1 index IS $2 summe IS $3 tmp IS $255 total SET index,0 SET summe,0 JMP 2F 1H SL tmp,index,3 Index * Gr"o"se eines Elements LDO tmp,feld,tmp Laden des Elements ADD summe,summe,tmp Addition des Elements ADD index,index,1 2H CMP tmp,index,n PBP tmp,1B SET $0,summe R"uckgabe von Summe POP 1