From dd17138347dc12f24af513a4d60403c72bde1710 Mon Sep 17 00:00:00 2001 From: Anachronaut <75824887+RealBusinessAccount@users.noreply.github.com> Date: Fri, 18 Oct 2024 18:05:02 -0400 Subject: [PATCH] Update SplitBit Programming Manual.md Improved description of POPP instruction. --- SplitBit Programming Manual.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SplitBit Programming Manual.md b/SplitBit Programming Manual.md index d376077..38a8184 100644 --- a/SplitBit Programming Manual.md +++ b/SplitBit Programming Manual.md @@ -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. 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. -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. ### Data Operations: 8 Instructions