welcome!
Welcome to pecelleleosk.blogspot.my! We provide information and notes about Computer Organization and Architecture for you to access just by your fingertips! Easy and no stress! Enjoy your study :D recent entries
Credits
| Instruction: Language of the Computer I- MIPS
This will help you understand the format of writing MIPS:
Now... what is machine language and assembly language? basically.... The instruction above means to add the integers in registers $t1 and $t2 and put the result in register $t0. By using SPIM, the simulator can translate assembly language to the machine language that the computer understands! What is register(s)? Registers are like the "variables" of assembly language. The benefit of registers is since registers are directly in hardware, they are very fast. Meanwhile the disadvantage is since registers are in hardware, there are a predetermined number of them. However, we can fix it by carefully putting the MIPS code together to efficiently use the registers. C, Java variables vs Assembly registers Addition and subtraction of Integers: example : Zero Register The zero register ($zero or $0) always contains a value of 0. It is built into the hardware and therefore cannot be modified. Immediates
MIPS Memory
Memory organization
Big / Little Endian Byte Order
Bytes in a word can be numbered in two ways:
EXTRA :
|
0 Comments:
Post a Comment