Created
December 15, 2019 12:27
-
-
Save shiywang/5a3db12a857f7c8f35a773aab4e8304c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
00111100000010010001001000110100 | |
00110101001010010101011001111000 | |
00111100000010100000000000000000 | |
00110101010010100000000000000000 | |
10101101010010010000000000000000 | |
00110001001010010000000000000000 | |
00111100000010011010101111001101 | |
00110101001010011110111100010010 | |
10101101010010010000000000000100 | |
00110001001010010000000000000000 | |
00111100000010010001000100100010 | |
00110101001010010011001101000100 | |
10101101010010010000000000001000 | |
00010001101011100000000000000011 | |
00110101111011111111111111111111 | |
00110101000010001101101010101101 | |
00110101000010001110101010101110 | |
10001101010010110000000000000000 | |
10001101010011000000000000000100 | |
10001101010011010000000000001000 | |
00000001011011000111000000100000 | |
10101101010011100000000000001100 | |
00000001100011010100000000100000 | |
00000001000011000111100000100010 | |
00000001111010000100100000100000 | |
00000000000000000101000000100000 | |
00000001010010100101100000100000 | |
00110101010010101010101001110110 | |
00000001001010100100100000100101 | |
00000001011010110101000000100000 | |
00110101010010100000000000000101 | |
00111100000010100000000000001010 | |
00000001010000000101100000100000 | |
00000001010010110100000000011000 | |
---------------------------------- | |
LUI $t1 0x1234 | |
ORI $t1 $t1 0x5678 // t1=0x12345678 | |
LUI $t2 0x0000 | |
ORI $t2 $t2 0x0000 //t2=0x00000000 | |
SW $t1 0x0000 $t2 //Store 12345678 in address 00000000 | |
ANDI $t1 $t1 0x0000 //t1=0000 | |
LUI $t1 0xABCD //t1=ABCD0000 | |
ORI $t1 $t1 0xEF12 //t1=ABCDEF12 | |
SW $t1 0x0004 $t2 //Store ABCDEF12 in address 00000004 | |
ANDI $t1 $t1 0x0000 | |
LUI $t1 0x1122 | |
ORI $t1 $t1 0x3344 // t1=11223344 | |
SW $t1 0x0008 $t2 //Store 11223344 in address 00000008 | |
BEQ $t5 $t6 0x0003 | |
ORI $t7 $t7 0xFFFF // t7=0xffff | |
ORI $t0 $t0 0xDAAD //t0=0xdaad | |
ORI $t0 $t0 0xEAAE //t0=oxfaaf | |
LW $t3 0x0000 $t2 //t3=12345678 //Skips here | |
LW $t4 0x0004 $t2 //t4=ABCDEF12 | |
LW $t5 0x0008 $t2 //t5=11223344 | |
ADD $t6 $t3 $t4 //t6=BE02458A | |
SW $t6 0x000C $t2 //sTORE BE02458A in address 0000000c | |
ADD $t0 $t4 $t5 //t0=bcf02256 | |
SUB $t7 $t0 $t4 //t7=11223344 | |
ADD $t1 $t7 $t0 //t1=ce12559a | |
ADD $t2 $Zero, $Zero | |
ADD $t3 $t2 $t2 | |
ORI $t2 $t2 0xAA76 | |
OR $t1 $t1 $t2 | |
ADD $t2 $t3 $t3 | |
ORI $t2 $t2 0x5 | |
LUI $t2 0xA | |
ADD $t3 $t2 $Zero | |
MUL $t0 $t2 $t3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment