[問題] 98政大資科第二題

作者: owlran (owlran)   2010-05-18 16:47:52
2. Assuming that the variables a, b, c and d are stored in memory
locations 100, 101, 102, and 103, resprctively.
Using any of sample machine language instructions given below,
translate the following pseudocode operations into
machine language instructions sequences.
(a) Set a to the value b+c+d
(b) Set a to the value (b*d)-(c*d)
Operation Meaning
作者: stator (別急著吃棉花糖)   2010-05-18 23:35:00
我是覺的不用,因為題目沒寫到類似A=B+C+D,只寫了算式如果有寫到,就要store a修正,是STORE 100
作者: owlran (owlran)   2010-05-18 23:41:00
謝謝s大。記得之前寫組語很像也沒有回存的樣子。

Links booklink

Contact Us: admin [ a t ] ucptt.com