1# sh testcase for div0u -*- Asm -*- 2# mach: all 3# as: -isa=shcompact 4# ld: -m shelf32 5 6 .include "compact/testutils.inc" 7 8 start 9 10 .global div0u 11div0u: 12 div0u 13 # Can't easily test Q and M (other than visually inspecting 14 # the simulator's trace output). 15 bt wrong 16 17okay: 18 pass 19 20wrong: 21 fail 22