MAAASD
Member level 4
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!