[CS363]Questions for Homework 1

7 views
Skip to first unread message

Xiaofeng Gao

unread,
Feb 27, 2012, 5:52:33 AM2/27/12
to sjtu_...@googlegroups.com
Dear All,

I received some questions regarding Homework 1, and here is my answer:

for Question 9, function b(x) should be replaced as b(i,x)

for Question 10(d), program Q should be

I_1: J(1,2,6)
I_2: S(2)
I_3: T(2,3)
I_4: M(2,3,4)
I_5: G(1,4,2)
I_6: H(2)

for Question 10(b), please use \rho(P) function, and please distinguish
the difference between the whole program and subroutine.

You can also check the webpage and download the updated version of this
homework.

PS, as I made changes for homeworks, I extend the due day too. The due
day of Homework 1 is extented to 10:00am, Friday, March.02, 2012.

--
-----------

Sincerely Yours,

Xiaofeng Gao, PH.D.(高晓沨)
Assistant Professor
Department of Computer Science and Engineering
Shanghai Jiao Tong University
Email: gao...@cs.sjtu.edu.cn
Office: Telecom Bldg 3-543 Phone: 021-34207407


Xilun Chen

unread,
Feb 27, 2012, 8:24:08 AM2/27/12
to sjtu_...@googlegroups.com
Hi, Prof. Gao,

I'm wondering that could an instruction of URM take the content of a register as its argument?
If not (which is in accordance with our last lecture if I recall it correctly), is there any way to solve Problem 10(b) which is better than writing a series of Z() instructions?

Thank you.
--
CHEN Xilun
Reply all
Reply to author
Forward
0 new messages