summary refs log tree commit diff stats
path: root/src/org/blog/assembly/1.org
diff options
context:
space:
mode:
authorCrystal <crystal@wizard.tower>2024-03-17 21:46:44 +0100
committerCrystal <crystal@wizard.tower>2024-03-17 21:46:44 +0100
commite8c190c8b2984cd562ba65890ad86213a13b9e72 (patch)
treece0b881ede4f9c8b8b49989db4dc404a0acf4850 /src/org/blog/assembly/1.org
parent8347b8d1f799e38d8ce88da706460ccd8aa7f8d3 (diff)
downloadwww-e8c190c8b2984cd562ba65890ad86213a13b9e72.tar.gz
New
Diffstat (limited to 'src/org/blog/assembly/1.org')
-rw-r--r--src/org/blog/assembly/1.org2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/blog/assembly/1.org b/src/org/blog/assembly/1.org
index 0ed897b..e268824 100644
--- a/src/org/blog/assembly/1.org
+++ b/src/org/blog/assembly/1.org
@@ -29,7 +29,7 @@ The relation between the Effective Address and the Segment & Offset is as follow
 **Effective address = 16 x segment + offset** keep in mind that this equation is encoded in decimal, which will change soon as we use Hexadecimal for convention reasons.
 
 **** Example :
-Let the Physical address (Or Effective Address, these two terms are enterchangeable) *12345h* (the h refers to Hexadecimal, which can also be written like this *0x12345*), the register *DS = 1230h* and the register *SI = 0045h*, the CPU calculates the physical address by multiplying the content of the segment register *DS* by 10h (or 16) and adding the content of the register *SI*. so we get : *1230h x 10h + 45h = 12345h*
+Let the Physical address (Or Effective Address, these two terms are interchangeable) *12345h* (the h refers to Hexadecimal, which can also be written like this *0x12345*), the register *DS = 1230h* and the register *SI = 0045h*, the CPU calculates the physical address by multiplying the content of the segment register *DS* by 10h (or 16) and adding the content of the register *SI*. so we get : *1230h x 10h + 45h = 12345h*
 
 
 Now if you are a clever one ( I know you are, since you are reading this <3 ) you may say that the physical address *12345h* can be written in more than one way....and you are right, more precisely : *2^{12} = 4096* different ways !!!