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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
Neil Kurzman
09/09/05 12:45
Read: 963 times
Ny
USA


 
#100876 - You Sure?
Responding to: Andy Neil's previous message
In X86 in ASM or a 'C' near pointer (a 'C' far pointer has no problem) if you inc a pointer set to 0xFFFF you end up at the bottem of the segment. so an increment at FFFF:FFFF gives you FFFF:0000 not 0000:0000.

This applies to all segments. RAM, Code, Stack. In C you can hide this by carful choice of memrory model.

On X86 0000:0000 would not be the boot code. the reset vector is at the top of memory. It must have a jump the the start of code.
the bottom of memory for AM188 is the Interupt Vector Table.

MOV@R0 on the '52 would give you similar results.

In any case You Need a general embedded or X86 embedded group.

List of 16 messages in thread
TopicAuthorDate
Micro Controller powered?      Rupesh Deenadayalan      09/06/05 00:10      
   bible study time?      Andy Neil      09/06/05 01:22      
      Reboot ?      Rupesh Deenadayalan      09/08/05 00:53      
         See reply (Off-Topic)      Andy Neil      09/08/05 01:41      
   Not A PC      Neil Kurzman      09/06/05 09:35      
      Reboot doubt      Rupesh Deenadayalan      09/08/05 00:35      
         Off Topic.      Andy Neil      09/08/05 00:47      
            Rampant code execution      Andy Neil      09/08/05 01:00      
            CS:IP      Abhishek Singh      09/08/05 06:45      
               Irrelevant?      Andy Neil      09/08/05 08:47      
                  irrelevent: irrelevent?      Abhishek Singh      09/08/05 09:16      
                     TOTALLY irrelevant, at least at a '51 fo      Erik Malund      09/08/05 09:39      
                        Already established!      Andy Neil      09/08/05 10:37      
                     Wrong      Andy Neil      09/08/05 11:46      
                        You Sure?      Neil Kurzman      09/09/05 12:45      
                           If you want a proper answer...      Andy Neil      09/10/05 01:52      

Back to Subject List