MAAASD
Member level 4
- Joined
- Feb 24, 2012
- Messages
- 76
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,286
- Activity points
- 1,832
Hello all,
Can you please help me to find what's wrong with this code?
i want to initialize the memory from file named "imem.txt"
it was supposed to initialize it from file named "imem.dat"
but i even don't know what is this file and how one could store the machine code in such files
so i replaced it by .txt file
is that possible?
could you tell me how to convert me MIPS assembly into machine code ? and how to put this machine code in a ".dat" file?
check this code
View attachment imem.zip
please i need your help
Thanks in advance!
Can you please help me to find what's wrong with this code?
i want to initialize the memory from file named "imem.txt"
it was supposed to initialize it from file named "imem.dat"
but i even don't know what is this file and how one could store the machine code in such files
so i replaced it by .txt file
is that possible?
could you tell me how to convert me MIPS assembly into machine code ? and how to put this machine code in a ".dat" file?
check this code
View attachment imem.zip
please i need your help
Thanks in advance!