Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
09/08/05 17:46
Read: times


 
#100828 - Wrong
Responding to: ???'s previous message
Abhishek Singh said:
ok but here op talks about the IP roll over

No, he didn't.
He didn't even mention registers at all:
Rupesh Deenadayalan said:
... when the microcontroller reaches to fffffth memory location it rolls over to 00000th memory location ...


The 20-bit Effective Address (ie, the physical memory address) is calculated from the 16-bit Segment & Offset as follows:
EA = Segment*16 + Offset
See: http://www.ece.msstate.edu/~reese/EE...de0019.htm

So, if Segment=FFFF AND Offset=000F,
EA = FFFF0 + 000F = FFFFF
If the Offset is now incremented by one to 0010, we get
EA = FFFF0 + 0010 = 00000 (botton 20 bits)
So incrementing the Offset can cause the Effective Address to roll-over from FFFFF to 00000.

List of 16 messages in thread
TopicAuthorDate
Micro Controller powered?            01/01/70 00:00      
   bible study time?            01/01/70 00:00      
      Reboot ?            01/01/70 00:00      
         See reply (Off-Topic)            01/01/70 00:00      
   Not A PC            01/01/70 00:00      
      Reboot doubt            01/01/70 00:00      
         Off Topic.            01/01/70 00:00      
            Rampant code execution            01/01/70 00:00      
            CS:IP            01/01/70 00:00      
               Irrelevant?            01/01/70 00:00      
                  irrelevent: irrelevent?            01/01/70 00:00      
                     TOTALLY irrelevant, at least at a '51 fo            01/01/70 00:00      
                        Already established!            01/01/70 00:00      
                     Wrong            01/01/70 00:00      
                        You Sure?            01/01/70 00:00      
                           If you want a proper answer...            01/01/70 00:00      

Back to Subject List