summaryrefslogtreecommitdiff
path: root/cpu/registers/pointers.txt
blob: ea4d88f6fffa8b306c75674293f38a15348d39c8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
IP (Instruction Pointer)
	Pointer to the current instruction being executed
	It is not directly affected by OR

	Can be used as a segment selector, only top half is used for this purpose

SP (Stack Pointer)
	Pointer to the bottom of the stack (grows down) (used implicitly by push/pop instructions)

BP (Base Pointer)
	Pointer to the top of the stack (grows down) (used implicitly by push/pop instructions)

TODO: define n
SS0 to SS<n> (Segment Selector n)
	Half-width registers used for addressing purposes