Because I found myself writing assembler and sometimes during assembly time code of MIPS simulator results are different, in my understanding, the simulator simulates the memory and registers while I write only simple assembly language to replace the binary, so now I don't know to the board to be burned on what should be done in real operation process? Also please comment,
CodePudding user response:
Have to see your board firmware (simple bootloader or curing of the operating system), so need to generate the firmware support binary format, if it is running on the bare board, may need to start from the specific address, so that your program to set up the specific starting address, or write position-independent code