Update SplitBit Programming Manual.md

Improved description of POPP instruction.
This commit is contained in:
Anachronaut
2024-10-18 18:05:02 -04:00
committed by GitHub
parent 4deb56953d
commit dd17138347
+1 -1
View File
@@ -61,7 +61,7 @@ Hex Code | Mnemonic | Description
34 | PSHD | Stores the Data Pointer to the next two bytes in the stack, decrements the Stack Pointer by two. 34 | PSHD | Stores the Data Pointer to the next two bytes in the stack, decrements the Stack Pointer by two.
35 | POPA | Reads the location referenced by the Stack Pointer from Data Memory into A then increments the Stack Pointer. 35 | POPA | Reads the location referenced by the Stack Pointer from Data Memory into A then increments the Stack Pointer.
36 | POPB | Reads the location referenced by the Stack Pointer from Data Memory into B then increments the Stack Pointer. 36 | POPB | Reads the location referenced by the Stack Pointer from Data Memory into B then increments the Stack Pointer.
37 | POPP | Restores the Program Counter from the top two bytes in the stack, increments the Stack Pointer by two. 37 | POPP | Restores the Program Counter from the top two bytes in the stack and increments it by 3 to account for a subsequent branch instruction, increments the Stack Pointer by two.
38 | POPD | Restores the Program Counter from the top two bytes in the stack, increments the Stack Pointer by two. 38 | POPD | Restores the Program Counter from the top two bytes in the stack, increments the Stack Pointer by two.
### Data Operations: 8 Instructions ### Data Operations: 8 Instructions