[MIPS] MIPS programming ๊ณผ์ - ์ ์์ ๋๋์
์ค๋์ MIPS๋ฅผ ์ฌ์ฉํ ์ ์์ ๋๋์
์ ์ค๋ช
๋๋ฆฌ๊ฒ ์ต๋๋ค. ํด๋น ํฌ์คํธ๋ฅผ ์งํํ๊ธฐ์ ์์ ๊ธฐ๋ณธ์ ์ธ opcode ํ์ต์ด ํ์ํฉ๋๋ค. [MIPS] MIPS programming ๊ธฐ๋ณธ [MIPS] MIPS programming ๊ธฐ๋ณธ opcode Artithmetic Instructions opcode ์ฌ์ฉ ๋ฐฉ๋ฒ ์๋ฏธ add add $s1, $t0, $t1 $s1 = $t0 + $t1 sub sub $s1, $t0, $t1 $s1 = $t0 - $t1 mul mul $s1, $t0, $t1 $s1 = $t0 * $t1 mult mult $t0, $t1 Lo, Hi.. ruas-coding.tistory.com 2. ์ฌ์ฉ์๋ก๋ถํฐ ๋ณ์ a, c์ ์
๋ ฅ์ ๋ฐ์ ์ ์ฅํ๊ณ , ์
๋ ฅ๋ฐ์ ๋ ์์ ๋ชซ๊ณผ ๋๋จธ์ง๋ฅผ ์ถ๋ ฅํ๋ ํ๋ก..
2021. 10. 27.