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

Usage:
	irett <task index> <id>

Effect:
	See ../../task_switching/execution.txt

	Only takes effect after all other writes are complete

Exceptions:
	`Invalid operation` if not in an exception/interrupt handler

	`Illegal instruction` if used with any other task-related instruction in the same queue
		Not triggered if conditional and only one was selected to be run

Flags:
	Zero if id does not match the task at the index or the task at index is not marked as valid