Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Finding reference to an external file in the code

Finding reference to an external file in the code

Finding reference to an external file in the code

I Want to know how can i find in the assembly code of a program the reference to an external (txt) file.

file.txt (external file)

1009="hello world"
1010="good morning world"

How can i find the reference to "1009" in the assembly code of a program?  i think 1009 is the number of the message.

Thank you

RE: Finding reference to an external file in the code

how does the program use the data file?

does it load it into memory or does it access the file every time it needs to get information?

the following is how i would attempt to learn your answer

to properly understand how a program does what it does you have to examine the whole program starting from the simplest routines.

do the following:
1. get a good disassembler that provides jump and data labels where you can edit the name. there are plenty of good free ones to download.
2. starting with the simplest routines give each routine a descriptive name as to what it does.
3. once you have given names to the simpler routines you can start to see what the more complicated ones do and so on.

slowly you start to build up a picture of how the program works. its not easy even for experienced assemblists because you need acute knowledge on the results of the operations. in anycase a little patience goes a long way.


"People who have nothing to say, say it too loud and have little knowledge. It's the quiet ones you need to worry about!"

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close