diff --git a/CPU.md b/CPU.md index 1af2358..0f4c879 100644 --- a/CPU.md +++ b/CPU.md @@ -12,7 +12,7 @@ _See also_: [Battery Hardware](https://github.com/simon987/Much-Assembly-Require Work in progress ## General purpose registers -The registers are 16-bits locations available to the CPU and are used in some instructions and system calls. Read [Basic Assembly Tutorial](https://github.com/simon987/Much-Assembly-Required/wiki/Basic-Assembly-tutorial) for more information. +The registers are 16-bits locations available to the CPU and are used in some instructions and system calls. | Register | Purpose | | -------- | ------- | @@ -25,7 +25,7 @@ The registers are 16-bits locations available to the CPU and are used in some in | **BP** | Base pointer | | **SP** | Stack Pointer | -Read [Basic Assembly Tutorial](https://github.com/simon987/Much-Assembly-Required/wiki/Basic-Assembly-tutorial) for more information about the BP & SP registers and the stack. +Read [Basic Assembly Tutorial](https://github.com/simon987/Much-Assembly-Required/wiki/Basic-Assembly-tutorial) for more information. ## The FLAGS register The FLAGS register holds the **status** - information about the last executed instruction - of the CPU. The FLAGS register cannot be read or written directly. There are 5 flags that can modified or read by instructions (Read [Instruction set](https://github.com/simon987/Much-Assembly-Required/wiki/Instruction-set) to learn which instructions modifies the FLAGS register):