From 430856809334c95f1da2413ff6bfc700c8970692 Mon Sep 17 00:00:00 2001 From: Grzegorz P Date: Thu, 28 Dec 2017 14:08:55 +0100 Subject: [PATCH] fixing some typos --- CPU.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CPU.md b/CPU.md index 5cb40fe..e23b363 100644 --- a/CPU.md +++ b/CPU.md @@ -13,7 +13,7 @@ Work in progress ## Random-access memory -From a storage point of view, the cpu memory spaces are organized as identical arrays of 16-bit words. The cpu has access to its full address space: 65,6536 (0x10000) words of memory (total 128KB). By default, the stack base is at address 0xFFFF and grows towards lower addresses. +From a storage point of view, the CPU memory spaces are organized as identical arrays of 16-bit words. The CPU has access to its full address space: 65536 (0x10000) words of memory (total 128KB). By default, the stack base is at address 0xFFFF and grows towards lower addresses. ## General purpose registers @@ -37,10 +37,10 @@ The FLAGS register holds the **status** - information about the last executed in | Flag | Description | |:--------- |:----------- | -| **CF** (Carry flag) | Relevent for *unsigned* operations. Indicates that there was a carry out of the most significant (leftmost) bit | +| **CF** (Carry flag) | Relevant for *unsigned* operations. Indicates that there was a carry out of the most significant (leftmost) bit | | **ZF** (Zero flag) | Indicates that the result of an operation is 0 | | **SF** (Sign flag) | Indicates that the most significant (leftmost) bit of the result of an operation is set | -| **OF** (Overflow flag) | Relevent for *signed* operations. Indicates that the sign of the result of an signed operation is wrong (See exemples below) | +| **OF** (Overflow flag) | Relevant for *signed* operations. Indicates that the sign of the result of an signed operation is wrong (See examples below) | | **BF** (Break flag) | Tells the CPU to stop the execution. This flag is set with the **BRK** instruction. | ### Carry Flag