This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

find a char from file.txt

Hello,

I want to find the value of 4th char stocked in a file.txt .

for example . I have a file.txt that contains 1 23 35 76 46 77 ....
i want to return the value of 4th char witch is "76".

PS:In simulator , i can not creat a tab and i can not use pointer.

my final objective is to copy the data from a file to a region in the RAM .

can help me please
thank you

Parents
  • Dear friend

    for you, i think you should try to dis assemble the code.

    but the dis assemblers are not so worth they can be used to decode the hex to asm but if the actual program was written on C, the dis assembled code will be heavy and very difficult to understand.

    and when there are more NOP instructions, the disassembler will show " truncated"
    so after disassembling you must take care of it

    regards

    jo

    but consida idapro

Reply
  • Dear friend

    for you, i think you should try to dis assemble the code.

    but the dis assemblers are not so worth they can be used to decode the hex to asm but if the actual program was written on C, the dis assembled code will be heavy and very difficult to understand.

    and when there are more NOP instructions, the disassembler will show " truncated"
    so after disassembling you must take care of it

    regards

    jo

    but consida idapro

Children
No data