mirror of
https://github.com/simon987/Much-Assembly-Required.git
synced 2025-04-21 03:26:44 +00:00
removing duplicated phrase
parent
01dfa4c3ef
commit
f707426b23
4
CPU.md
4
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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user