machine-code
Assembly code vs Machine code vs Object code?
Machine code is binary (1’s and 0’s) code that can be executed directly by the CPU. If you open a machine code file in a text editor you would see garbage, including unprintable characters (no, not those unprintable characters 😉 ). Object code is a portion of machine code not yet linked into a complete … Read more
How to Calculate Jump Target Address and Branch Target Address?
(In the diagrams and text below, PC is the address of the branch instruction itself. PC+4 is the end of the branch instruction itself, and the start of the branch delay slot. Except in the absolute jump diagram.) 1. Branch Address Calculation In MIPS branch instruction has only 16 bits offset to determine next instruction. … Read more