; Flag settings; clearf, setf
|
; Flag settings; clearf, setf
|
|
|
.text
|
.text
|
.syntax no_register_prefix
|
.syntax no_register_prefix
|
start:
|
start:
|
nop ; So we get it tested too -- and it makes the
|
nop ; So we get it tested too -- and it makes the
|
; size of the code a 32-bit multiple, so
|
; size of the code a 32-bit multiple, so
|
; the end of disassembly does not show zeros.
|
; the end of disassembly does not show zeros.
|
ax
|
ax
|
setf deixnzvc ; old names
|
setf deixnzvc ; old names
|
clearf deixnzvc ; old names
|
clearf deixnzvc ; old names
|
ei
|
ei
|
di
|
di
|
setf dxnc ; old names
|
setf dxnc ; old names
|
clearf dxnc ; old names
|
clearf dxnc ; old names
|
setf ; empty list
|
setf ; empty list
|
clearf ; empty list
|
clearf ; empty list
|
; For each flag. Note that the disassembly will show macros for
|
; For each flag. Note that the disassembly will show macros for
|
; some.
|
; some.
|
setf c
|
setf c
|
clearf c
|
clearf c
|
setf v
|
setf v
|
clearf v
|
clearf v
|
setf z
|
setf z
|
clearf z
|
clearf z
|
setf n
|
setf n
|
clearf n
|
clearf n
|
setf x
|
setf x
|
clearf x
|
clearf x
|
setf i
|
setf i
|
clearf i
|
clearf i
|
setf e
|
setf e
|
clearf e
|
clearf e
|
setf d
|
setf d
|
clearf d
|
clearf d
|
; Two from same group, and switch order.
|
; Two from same group, and switch order.
|
clearf vc
|
clearf vc
|
setf vc
|
setf vc
|
clearf ix
|
clearf ix
|
setf ix
|
setf ix
|
clearf cv
|
clearf cv
|
setf cv
|
setf cv
|
clearf xi
|
clearf xi
|
setf xi
|
setf xi
|
; Two from different groups, and switch order.
|
; Two from different groups, and switch order.
|
clearf in
|
clearf in
|
setf in
|
setf in
|
clearf ni
|
clearf ni
|
setf ni
|
setf ni
|
; Four in same group, and switch order.
|
; Four in same group, and switch order.
|
clearf nvxc
|
clearf nvxc
|
setf nvxc
|
setf nvxc
|
clearf vncx
|
clearf vncx
|
setf vncx
|
setf vncx
|
clearf dxei
|
clearf dxei
|
setf dxei
|
setf dxei
|
clearf xide
|
clearf xide
|
setf xide
|
setf xide
|
; Four in different groups, and switch order.
|
; Four in different groups, and switch order.
|
clearf exnv
|
clearf exnv
|
setf exnv
|
setf exnv
|
clearf xvne
|
clearf xvne
|
setf xvne
|
setf xvne
|
; FIXME: Put tests for new flag-names here, (not above.
|
; FIXME: Put tests for new flag-names here, (not above.
|
; The new names in ETRAX 100, just some assortment of the above.
|
; The new names in ETRAX 100, just some assortment of the above.
|
setf mbixnzvc
|
setf mbixnzvc
|
clearf bmixnzvc
|
clearf bmixnzvc
|
setf b
|
setf b
|
clearf b
|
clearf b
|
setf m
|
setf m
|
clearf m
|
clearf m
|
clearf mxbi
|
clearf mxbi
|
setf dxbi
|
setf dxbi
|
clearf ximb
|
clearf ximb
|
setf ximb
|
setf ximb
|
clearf bxnv
|
clearf bxnv
|
setf bxnv
|
setf bxnv
|
clearf xvnb
|
clearf xvnb
|
setf xvnb
|
setf xvnb
|
end:
|
end:
|
|
|