LOOP: TST R1 BNE CONT HALT CONT: MOV R0, R2 MOV R1, R0 DIV R1, R2 MOV R3, R1 BR LOOP
version with extra statements to set up registers and in a separate file for easy testing