; Manuel Vichi 3^AIN ; Esercizio B1 org 0h jp main org 100h main: ld HL, 200h call rout halt end rout: push HL push bc ld b, 3h ld A, (HL) loop: add A, (HL) dec b jr nz, loop ld (HL), a pop bc pop hl ret