How can 8086 microprocessor have 1 Mega Byte memory when it can address upto 2^20 bits which are equal to 1 Mega Bits not 1 Mega Bytes.
Asked
Active
Viewed 1,018 times
-2
-
4Addressing is using bytes. You can't address individual bits in 8086. – Jester Aug 22 '17 at 15:36
-
Did you read somewhere that it addresses up to 2^20 *bits* rather than *bytes*? – lurker Aug 22 '17 at 15:38
-
Please explain with example i am still not getting it. – Ahtisham Aug 22 '17 at 15:42
-
@Jester Except with bt, bts, btr, and btc. only from the 80386 on though. – fuz Aug 22 '17 at 15:57
-
@fuz of course 8086 doesn't have those. The x86 cpus that do have those, can address more than 1MB ;) – Jester Aug 22 '17 at 16:01
-
The address is *using* 20 bits, but each memory address refers to a byte. – Bo Persson Aug 22 '17 at 17:27
-
@ThomasJager: all it needs is an answer with positive score to be a valid dup target. – Peter Cordes Aug 23 '17 at 23:11
1 Answers
3
[...] it can address upto 2^20 bits [...]
No, it can address 220 locations. Each location is one byte, which means that 1 mebibyte is addressable.

Ignacio Vazquez-Abrams
- 776,304
- 153
- 1,341
- 1,358