2 # output: bf\n0\n80\n20\n10\n8\n4\n2\n1\n40\nfade040\n3ade0040\nfade040\n42\n
6 .include "testutils.inc"
9 setf pixnzvc ; Setting U(ser mode) would restrict tests of other flags.
33 testf u ; Can't test i-flag or clear u after this point.
35 .macro test_get_cc N Z V C
37 move ((\N << 3)|(\Z << 2)|(\V << 1)|\C),ccs
40 move ((\N << 3)|(\Z << 2)|(\V << 1)|\C),ccs
42 move.d ((\N << 3)|(\Z << 2)|(\V << 1)|\C),r4
56 ; Test that the U bit sticks.
61 ; Check that the M and Q bits can't be set in user mode.