看板 CHU_CS96b 關於我們 聯絡資訊
04/08 (四) 交計算機結構 Hw 2 1. Let a and b be stored in the registers $s1 and $s2, please find the GCD and LCM of the values a and b and store the GCD and LCM values into the registers $t1 and $t2. 2. Let a be a positive integer in the register $s1, please test whether the value a is a prime: if a is a prime, please set $t1 as 1; otherwise set $t1 as 0. -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 118.160.105.208
OOOchiuOOO:哦!! 04/03 02:04