*================================================================ * FILE: loop.asm * * DESCRIPTION: Conditional and unconditional jump test * program for the ERISC processor model. * Verfify that * a) The instruction BEFORE the jump is executed * b) The instruction AFTER the jump is NOT executed *================================================================ .global _EXIT .text NOP NOP PUSHI 1 JMP @8 PUSHI 2 NOP NOP NOP NOP PUSHI 3 PUSHI 4 BNE @15 PUSHI 5 PUSHI 6 NOP NOP NOP NOP PUSHI 7 PUSHI 7 BEQ @2 PUSHI 8 NOP NOP NOP NOP .end