Click here to Skip to main content
15,512,908 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Decimal point in floating point number in CSV under European locale Pin
Shao Voon Wong26-Sep-22 20:39
mvaShao Voon Wong26-Sep-22 20:39 
GeneralRe: Decimal point in floating point number in CSV under European locale Pin
Peter_in_278026-Sep-22 21:36
professionalPeter_in_278026-Sep-22 21:36 
Question.hex file converter Pin
Muhammad Adnan 202224-Sep-22 22:18
Muhammad Adnan 202224-Sep-22 22:18 
AnswerRe: .hex file converter Pin
Victor Nijegorodov24-Sep-22 22:34
Victor Nijegorodov24-Sep-22 22:34 
AnswerRe: .hex file converter Pin
Richard MacCutchan25-Sep-22 4:43
mveRichard MacCutchan25-Sep-22 4:43 
GeneralRe: .hex file converter Pin
Muhammad Adnan 202225-Sep-22 8:14
Muhammad Adnan 202225-Sep-22 8:14 
GeneralRe: .hex file converter Pin
Richard MacCutchan25-Sep-22 8:19
mveRichard MacCutchan25-Sep-22 8:19 
GeneralRe: .hex file converter Pin
Dave Kreskowiak25-Sep-22 11:20
mveDave Kreskowiak25-Sep-22 11:20 
This is an example of what you're in for.

Get any HEX editor, like HxD[^], and install it. Now go grab the Notepad.exe file from C:\Windows and open it in the hex editor.

Now you're looking at a whole of bunch of bytes that make up the content of the file, and you need documentation to tell you what every one of those bytes means. You're going to start here[^] to figure that out.

Oh, and when you get to actual executable code, you're going to have to understand the Intel instruction set, all the addressing modes, and the operands each instruction requires. All of that is in the bytes that make up the executable code. Notice, you're not going to get back C/C++ code. You're getting back assembly code.

Once you're brain melts from trying to understand all that, now you have to do that same thing for the .hex file you're looking at for your PLC's. Oh, and you'll need all the relevant documentation similar to this example of disassembling Notepad.

Do you get it now?

QuestionRe: .hex file converter Pin
CPallini26-Sep-22 3:26
mveCPallini26-Sep-22 3:26 
Questionbasic C++ question... Pin
Member 1496877116-Sep-22 15:17
Member 1496877116-Sep-22 15:17 
AnswerRe: basic C++ question... Pin
k505417-Sep-22 5:56
mvek505417-Sep-22 5:56 
GeneralRe: basic C++ question... Pin
Member 1496877117-Sep-22 9:17
Member 1496877117-Sep-22 9:17 
AnswerRe: basic C++ question... Pin
David Crow17-Sep-22 16:44
David Crow17-Sep-22 16:44 
GeneralRe: basic C++ question... Pin
Richard MacCutchan17-Sep-22 22:16
mveRichard MacCutchan17-Sep-22 22:16 
QuestionMessage Closed Pin
16-Sep-22 8:38
Member 1496877116-Sep-22 8:38 
AnswerRe: Help with xterm Pin
Richard MacCutchan16-Sep-22 23:26
mveRichard MacCutchan16-Sep-22 23:26 
AnswerRe: Help with xterm Pin
k505417-Sep-22 6:09
mvek505417-Sep-22 6:09 
GeneralRe: Help with xterm Pin
Member 1496877117-Sep-22 6:54
Member 1496877117-Sep-22 6:54 
Questionhow to use a struct pointer to get a struct pointer array's member Pin
samzcs11-Sep-22 13:03
samzcs11-Sep-22 13:03 
AnswerRe: how to use a struct pointer to get a struct pointer array's member Pin
Greg Utas11-Sep-22 13:24
mveGreg Utas11-Sep-22 13:24 
GeneralRe: how to use a struct pointer to get a struct pointer array's member Pin
samzcs11-Sep-22 14:29
samzcs11-Sep-22 14:29 
GeneralRe: how to use a struct pointer to get a struct pointer array's member Pin
samzcs11-Sep-22 14:34
samzcs11-Sep-22 14:34 
GeneralRe: how to use a struct pointer to get a struct pointer array's member Pin
Greg Utas11-Sep-22 14:46
mveGreg Utas11-Sep-22 14:46 
AnswerRe: how to use a struct pointer to get a struct pointer array's member Pin
Mircea Neacsu11-Sep-22 16:09
mvaMircea Neacsu11-Sep-22 16:09 
AnswerRe: how to use a struct pointer to get a struct pointer array's member Pin
Richard MacCutchan12-Sep-22 1:00
mveRichard MacCutchan12-Sep-22 1:00 

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.