1*4b169a6bSchristos# cr16 testcase for beq disp16 2*4b169a6bSchristos# mach(): cr16 3*4b169a6bSchristos 4*4b169a6bSchristos .include "testutils.inc" 5*4b169a6bSchristos 6*4b169a6bSchristos start 7*4b169a6bSchristos 8*4b169a6bSchristos .global beq 9*4b169a6bSchristosbeq: 10*4b169a6bSchristos mvi_h_condbit 0 11*4b169a6bSchristos movw $1, r4 12*4b169a6bSchristos movw $2, r5 13*4b169a6bSchristos cmpw r4, r5 14*4b169a6bSchristos blt ok 15*4b169a6bSchristosnot_ok: 16*4b169a6bSchristos fail 17*4b169a6bSchristosok: 18*4b169a6bSchristos pass 19