Click here to Skip to main content
15,894,405 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: BYTE* to char* or BYTE* to CString ? Pin
neliocc29-May-05 4:25
neliocc29-May-05 4:25 
GeneralRe: BYTE* to char* or BYTE* to CString ? Pin
Bob Stanneveld29-May-05 5:48
Bob Stanneveld29-May-05 5:48 
Generalget ype of control Pin
rgchezhian28-May-05 1:15
rgchezhian28-May-05 1:15 
GeneralRe: get ype of control Pin
Jack Puppy28-May-05 1:48
Jack Puppy28-May-05 1:48 
GeneralDrag & Drop Controls Pin
laiju28-May-05 0:04
laiju28-May-05 0:04 
GeneralMeaning of .org xxx Pin
Franz Klein27-May-05 23:21
Franz Klein27-May-05 23:21 
GeneralRe: Meaning of .org xxx Pin
Gary R. Wheeler28-May-05 2:16
Gary R. Wheeler28-May-05 2:16 
GeneralRe: Meaning of .org xxx Pin
Toby Opferman28-May-05 13:57
Toby Opferman28-May-05 13:57 
To further note, "ORG" I believe stands for "ORIGIN" and that yes all code from that point forward will be assembled to that offset location.

So what's it used for? Well, it was most commonly used for what was known as "COM" files (Since they commonly used .COM extension, although the loader does not make a distinquish between EXE and COM extensions themselves it uses image signatures) since they are raw image data that is loaded to offset 256 (The PSP is before this) so ".ORG 256" or ".ORG 100h" is commonly seen in some assembly programs.

The other common practice would be for some type of alignment. As an example for boot sectors the last two bytes around 510 need to be 55h and aah as I remember.

To take a guess at what you're looking at, if you are seeing "ORG 497" perhaps you are looking at a boot sector that is putting some variables before this signature.




8bc7c0ec02c0e404c0cc0680f7018827ebee
Generalconverting C++ to VC++ Pin
Member 200054927-May-05 18:38
Member 200054927-May-05 18:38 
GeneralRe: converting C++ to VC++ Pin
John M. Drescher27-May-05 21:47
John M. Drescher27-May-05 21:47 
GeneralRe: converting C++ to VC++ Pin
Trollslayer27-May-05 21:51
mentorTrollslayer27-May-05 21:51 
GeneralRe: converting C++ to VC++ Pin
Member 200054928-May-05 6:56
Member 200054928-May-05 6:56 
GeneralImage resizing algorithm (bilinear) Pin
Budric B.27-May-05 18:01
Budric B.27-May-05 18:01 
GeneralRe: Image resizing algorithm (bilinear) Pin
Andrew Kirillov27-May-05 22:03
Andrew Kirillov27-May-05 22:03 
GeneralRe: Image resizing algorithm (bilinear) Pin
Christian Graus28-May-05 11:57
protectorChristian Graus28-May-05 11:57 
GeneralRe: Image resizing algorithm (bilinear) Pin
Chris Losinger29-May-05 5:31
professionalChris Losinger29-May-05 5:31 
GeneralThanks for your replies (nt) Pin
Anonymous29-May-05 4:40
Anonymous29-May-05 4:40 
GeneralPoint on a line Pin
rocky_pulley27-May-05 16:40
rocky_pulley27-May-05 16:40 
GeneralRe: Point on a line Pin
Jack Puppy27-May-05 17:33
Jack Puppy27-May-05 17:33 
GeneralRe: Point on a line Pin
rocky_pulley28-May-05 4:17
rocky_pulley28-May-05 4:17 
GeneralRe: Point on a line Pin
Ted Ferenc28-May-05 4:38
Ted Ferenc28-May-05 4:38 
GeneralRe: Point on a line Pin
Christian Graus28-May-05 11:59
protectorChristian Graus28-May-05 11:59 
GeneralLoadFrame Fails on target machine Pin
drallen127-May-05 12:28
drallen127-May-05 12:28 
GeneralThrowing Exceptions during Message handling Pin
Uwe Keim27-May-05 12:18
sitebuilderUwe Keim27-May-05 12:18 
GeneralRe: Throwing Exceptions during Message handling Pin
Uwe Keim27-May-05 13:13
sitebuilderUwe Keim27-May-05 13:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.