mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 04:42:53 +08:00
19 lines
188 B
Plaintext
19 lines
188 B
Plaintext
|
# cr16 testcase for beq disp16
|
||
|
# mach(): cr16
|
||
|
|
||
|
.include "testutils.inc"
|
||
|
|
||
|
start
|
||
|
|
||
|
.global beq
|
||
|
beq:
|
||
|
mvi_h_condbit 0
|
||
|
movw $2, r4
|
||
|
movw $1, r5
|
||
|
cmpw r4, r5
|
||
|
bgt ok
|
||
|
not_ok:
|
||
|
fail
|
||
|
ok:
|
||
|
pass
|