; jmp_inc.asm ; increment R0 in an endless loop FIM R0R1, 0 ; initialize R0=R1=0 loop: INC R0 ; increment register R0 JUN loop ; next iteration
This program demonstrates the unconditional jump instruction (JUN). It first initializes the register pair R0,R1 and then enters and endless loop which increments R0.
See also:
Run the applet | Run the editor (via Webstart)