summaryrefslogtreecommitdiff
path: root/cpu/instructions/conditions/bitwise_condition.txt
blob: 48ddabdeb002dadf724532148928f04830660ed5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
Number of parameters: 3

Usage:
	bitwise_condition <input> <bits to be compared> <value to compare with>

Effect:
	Sets the zero flag if exactly one of <bits to be compared> in <input> match <value to compare with>
	Sets the overflow flag if at least one of <bits to be compared> in <input> match <value to compare with>
	Sets the carry flag if all of <bits to be compared> in <input> match <value to compare with>

Exceptions:
	None