Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   Assembly (http://www.programmingforums.org/forum20.html)
-   -   Rusty -- explain byte order. (http://www.programmingforums.org/showthread.php?t=12226)

Kennedy Dec 20th, 2006 12:20 PM

Rusty -- explain byte order.
 
jmp 0xf000:0xff00

Because I've not touched Assembly since school (12+ years ago), I cannot remember what this does. What I think this does is "Jump to the offset address at 0x000fff00", however, I cannot remember how the byte order goes.

Thanks in advance for your explination.

DaWei Dec 20th, 2006 3:57 PM

That's segmented addressing. Multiply the segment part by 16 (add a 0 on the end) and add it to the address part. That would result in 0fff00. This kind of addressing is exactly why Intel was considered a piece of shit by system pros. Good thing they were chosen by IBM. It saved their ass.

Kennedy Dec 20th, 2006 4:08 PM

I had to work it out on paper to figure out what you were talking about. . . but I got it. Thanks!


All times are GMT -5. The time now is 3:11 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC