Image:Mips32 addi.png
From Wikipedia, the free encyclopedia
Mips32_addi.png (316 × 113 pixel, file size: 7 KB, MIME type: image/png)
[edit] Summary
This figure demonstrates how one type of MIPS32 instruction word is decoded. The first six bits specify the operation (add immediate). The second and third groups of five bits each specify the number of one of MIPS32's 32 general-purpose registers (GPR). The first group specifies the destination GPR, and the second specifies the source GPR. The last sixteen bits specify the immediate value, that is, the 16-bit signed (two's compliment) integer that is added to the second register and then stored in the first register. The equivalent mnemonic in MIPS32 assembly is also shown. This instruction word would cause a MIPS32 CPU to add 350 to the value stored in $r2 and store the result in $r1. If an arithmetic overflow occurs, $r1 is not modified and an overflow flag is set.
Figure made by uberpenguin with GIMP.
[edit] Licensing
I, the creator of this work, hereby grant the permission to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
Subject to disclaimers.
File history
Legend: (cur) = this is the current file, (del) = delete
this old version, (rev) = revert to this old version.
Click on date to download the file or see the image uploaded on that date.
- (del) (cur) 23:24, 11 December 2005 . . Matt Britt (Talk | contribs) . . 316×113 (7,531 bytes) (feh)
- (del) (rev) 23:22, 11 December 2005 . . Matt Britt (Talk | contribs) . . 316×113 (7,547 bytes) (Reverted to earlier revision)
- (del) (rev) 17:47, 11 December 2005 . . Matt Britt (Talk | contribs) . . 318×114 (10,635 bytes) (Stupid comma...)
- (del) (rev) 18:39, 19 November 2005 . . Matt Britt (Talk | contribs) . . 316×113 (7,547 bytes)
- (del) (rev) 18:17, 13 October 2005 . . Matt Britt (Talk | contribs) . . 317×108 (7,858 bytes) (Removed extraneous comma)
- (del) (rev) 18:03, 13 October 2005 . . Matt Britt (Talk | contribs) . . 317×108 (7,868 bytes) (Fixed padding)
- (del) (rev) 17:54, 13 October 2005 . . Matt Britt (Talk | contribs) . . 315×106 (7,852 bytes) (Added some border padding)
- (del) (rev) 17:44, 13 October 2005 . . Matt Britt (Talk | contribs) . . 307×103 (7,820 bytes) (This figure demonstrates how one type of MIPS32 instruction word is decoded. The first six bits specify the operation (add immediate). The second and third groups of five bits each specify the number of one of MIPS32's 32 general-p)
- Edit this file using an external application
See the setup instructions for more information.