diff options
Diffstat (limited to 'cpu/registers/pointers.txt')
-rw-r--r-- | cpu/registers/pointers.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/cpu/registers/pointers.txt b/cpu/registers/pointers.txt index e02db04..ea4d88f 100644 --- a/cpu/registers/pointers.txt +++ b/cpu/registers/pointers.txt @@ -2,10 +2,14 @@ IP (Instruction Pointer) Pointer to the current instruction being executed It is not directly affected by OR - Read-only, can be set by certain jump instructions + 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 |