[作業] 04/08 交計算機結構 Hw2

看板CHU_CS96b作者 (豬仔)時間15年前 (2010/03/30 21:24), 編輯推噓1(100)
留言1則, 1人參與, 最新討論串1/1
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

04/03 02:04, , 1F
哦!!
04/03 02:04, 1F
文章代碼(AID): #1BiVjrau (CHU_CS96b)