Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Dec 20th, 2006, 12:20 PM   #1
Kennedy
Newbie
 
Join Date: Aug 2006
Location: Alabama
Posts: 26
Rep Power: 0 Kennedy is on a distinguished road
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.
Kennedy is offline   Reply With Quote
Old Dec 20th, 2006, 3:57 PM   #2
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
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.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote
Old Dec 20th, 2006, 4:08 PM   #3
Kennedy
Newbie
 
Join Date: Aug 2006
Location: Alabama
Posts: 26
Rep Power: 0 Kennedy is on a distinguished road
I had to work it out on paper to figure out what you were talking about. . . but I got it. Thanks!
Kennedy is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Change Link Order matthewvb PHP 1 Dec 20th, 2006 12:13 AM
direct memory byte veiwing heapwalker C++ 21 Apr 29th, 2006 1:06 AM
Could some please explain classes to me... TCStyle C++ 10 Feb 20th, 2006 3:51 PM
byte reversing & streaming rsnd C++ 8 Nov 21st, 2005 11:17 PM
Sorting order by scorpiosage PHP 3 Feb 15th, 2005 9:17 PM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 12:06 AM.

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