summary refs log tree commit diff stats
path: root/src/org/blog/assembly/1.org
diff options
context:
space:
mode:
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 !!!
ng_rules.md?id=01c8c655f67f820bc8028d369c5061c997921e72'>01c8c65 ^
6cb2ab9 ^

628c87c ^


6cb2ab9 ^
8d5a6ff ^
6cb2ab9 ^
01c8c65 ^

6cb2ab9 ^
01c8c65 ^
d737f1a ^
01c8c65 ^





7e300b2 ^

01c8c65 ^
132c751 ^




3e547ec ^
132c751 ^
01c8c65 ^
132c751 ^




6cb2ab9 ^


01c8c65 ^
132c751 ^
01c8c65 ^
3e547ec ^
132c751 ^

ec33fa3 ^

01c8c65 ^
7820081 ^



01c8c65 ^
132c751 ^
546c546 ^
6cb2ab9 ^
48358ad ^
628c87c ^

f0467d9 ^

01c8c65 ^
6cb2ab9 ^
6498dfe ^
3e547ec ^
6cb2ab9 ^


b8168bb ^
f16f553 ^
290b6a9 ^
08296c9 ^

6cb2ab9 ^
132c751 ^
01c8c65 ^
d737f1a ^


6cb2ab9 ^
d737f1a ^



6cb2ab9 ^

d737f1a ^

6cb2ab9 ^



01c8c65 ^

ec33fa3 ^
e86f1d0 ^

01c8c65 ^

ec33fa3 ^







01c8c65 ^

6cb2ab9 ^
a4ab432 ^
01c8c65 ^
6cb2ab9 ^
628c87c ^
d737f1a ^
01c8c65 ^




a4ab432 ^
6cb2ab9 ^

01c8c65 ^
d737f1a ^


a4ab432 ^
d737f1a ^





e86f1d0 ^

f0467d9 ^


a4ab432 ^
f0467d9 ^



ec33fa3 ^
6cb2ab9 ^
e86f1d0 ^
d737f1a ^




ec33fa3 ^
d737f1a ^

e86f1d0 ^

7e300b2 ^

b8168bb ^
e86f1d0 ^

546c546 ^
132c751 ^
d737f1a ^





6cb2ab9 ^
d737f1a ^


6cb2ab9 ^
d737f1a ^
b8168bb ^
6cb2ab9 ^
249656e ^
249656e ^

132c751 ^

a4ab432 ^
6cb2ab9 ^
ec33fa3 ^

6cb2ab9 ^
ec33fa3 ^


6cb2ab9 ^



249656e ^
6cb2ab9 ^
132c751 ^
b8168bb ^

6cb2ab9 ^
b8168bb ^
d737f1a ^
6cb2ab9 ^
b8168bb ^

6cb2ab9 ^
b8168bb ^
d737f1a ^

b8168bb ^
01c8c65 ^


6cb2ab9 ^
7e300b2 ^


8648f2b ^




8648f2b ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248