Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Write word, little or big endian?

Author
Message
Cybermind
Valued Member
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: Denmark
Posted: 13th Aug 2015 13:21 Edited at: 13th Aug 2015 15:17
Does DarkBASIC Pro write word in little or big endian?

EDIT: A bit short info in the question there, sorry (Haha, get it? Short = 2 bytes, Word = 2 bytes). Anyway, when I write a word to file, which format does "write word file_number,(2 byte word)" use? Little or big endian?

The byte chrunchers are coming...
DIVIDING BY ZERO/BECAUSE WE SUCK...
WickedX
15
Years of Service
User Offline
Joined: 8th Feb 2009
Location: A Mile High
Posted: 13th Aug 2015 19:22 Edited at: 13th Aug 2015 19:33
Least significant: most significant; If, I understand the terminology correctly would mean Little Endian. Which seems backward to me. If the most significant byte is last, shouldn’t it be BIG END-ian.

http://hexedit.com/
Cybermind
Valued Member
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: Denmark
Posted: 13th Aug 2015 22:24
Haha True! But I think they mean loads of bits (BIG) before any end

The byte chrunchers are coming...
DIVIDING BY ZERO/BECAUSE WE SUCK...
Cybermind
Valued Member
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: Denmark
Posted: 17th Aug 2015 11:04
Disregard my earlier message, I get what you are saying now :-P

The byte chrunchers are coming...
DIVIDING BY ZERO/BECAUSE WE SUCK...
MrValentine
AGK Backer
13
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII

Login to post a reply

Server time is: 2024-11-23 15:26:47
Your offset time is: 2024-11-23 15:26:47