data/method/gdb/gdb-12.1/sim/testsuite/cr16/uread32.ms

18 lines
168 B
Plaintext
Raw Normal View History

2024-01-29 10:44:43 +08:00
# mach: cr16
.include "testutils.inc"
start
.global read32
read32:
loadd foo, (r1,r0)
cmpd $0x12345678, (r1,r0)
beq ok
fail
ok:
pass
foo:
.long 0x12345678