Home > other >  Novice microcomputer principle, crazy, for free
Novice microcomputer principle, crazy, for free

Time:09-20

May be I had doubt on the naming, why it is 16, call eight I/O port

I asked the teacher, the teacher said that the I/O port address can be eight, equipment is not so much, eight is enough, but it really is a 16-bit address ah, and address is not 16, how can have 64 k I/O port

If only eight, whether low eight or high eight, the 64 k I/O port not only 256, other are repeated

I saw the stm32 pin and found an I/O port is indeed eight mouth, that there are eight is wasted,

please god help me, don't entangled with my heart clearly of panic

CodePudding user response:

Have a 16-bit address can only eight, it's like a street address house number can use 10000, short but street I only 200 house number is enough,

CodePudding user response:

reference 1st floor xuyaqi029 response:
16 address can only eight, this house is just like a street address, can be used on the 10000, but I only 200 street short house number is enough,


Is this meaning, only eight 16-bit address, the other eight retained and used after the upgrade,

CodePudding user response:

This description is not tight, said is a 16-bit address space can distinguish between 64 k IO mouth, but each IO mouth does not necessarily eight,

CodePudding user response:

Thank you, I also wanted to think, in combination with everyone saying that got what I mean, I'm really going overboard, sooner or later to death in his own hand thank you thank you bosses