Hello. I'm working on a project and I need to take some values from a text file and save them in registers. I've searched in internet but there's not enought information about the set of instructions I must use to read the file. Any ideas? Any basic block of instructions to open the file and read it?
Thank youuu
Jenny97 said:I need to take some values from a text file and save them in registers
That really doesn't make much sense - why do you "need" (sic) to do that?
http://www.catb.org/esr/faqs/smart-questions.html#goal
"reading from files" is a rather high-level thing - so you'd expect to be using 'C' or C++ or similar for that.
"saving in registers" is a low-level thing - you would not normally do that in 'C' or C++ or similar.