qemu/tests/tcg/lm32/test_break.S
<<
>>
Prefs
   1.include "macros.inc"
   2
   3start
   4
   5test_name BREAK_1
   6mvi r1, 1
   7wcsr IE, r1
   8insn:
   9break
  10check_excp 1
  11
  12test_name BREAK_2
  13mv r3, ba
  14check_r3 insn
  15
  16test_name BREAK_3
  17rcsr r3, IE
  18check_r3 4
  19
  20end
  21