??? 09/09/05 18:45 Read: times |
#100876 - You Sure? Responding to: ???'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. |
Topic | Author | Date |
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 |