Home > other >  The binary code generated by the compiler to be executed after processing will burn to the board
The binary code generated by the compiler to be executed after processing will burn to the board

Time:09-21

I developed a simple MIPS assembler, converts assembly code to binary code (bin file format), and now want to burn it to design a good board, need to do any processing?
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
  • Related