2 # output: 40\n40\n140\nabadefb0\n6543789c\n0\n0\n0\n0\n0\n0\n0\n0\n
4 ; Check for protected operations being NOP in user mode, for the
5 ; parts implemented in this simulator.
7 .include "testutils.inc"
17 ; Flag settings, besides what's tested in rfn.ms, rfe.ms and
45 ; We can't go back to kernel mode, so we can't check that R14 in
46 ; kernel mode wasn't affected.
48 ; Moves to protected special registers.
49 .macro testsr reg,val=-1
51 ; Registers shorter than dword will not affect the rest of the
52 ; general register when copied using a move insn.
54 ; Three cycles are needed between move to protected register and
55 ; read from it, to avoid reading undefined contents due to
56 ; incomplete forwarding.