summaryrefslogtreecommitdiff
path: root/cpu/instructions/conditions/save_condition.txt
blob: a7df9d2d7988a77e3fcbfe715386e25339e1b302 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Number of parameters:

Usage:
	save_condition <output> <offset> <conditional parameter>

conditional parameter: same as is_conditional from ../opcode.txt, but with the following changes:
	Values to be compared are instead xor'd

Effect:
	Saves the selected flags to <output> at bitwise position <offset>
		Flags are xor'd with the comparison value
		Resulting value is shifted down to not have gaps from unused flags

Exceptions:
	None

Notes:
	Will be executed in the conditional phase