CSC429-Computer Organization Tutorial: Y ( (M N) + (P/M) ) (P+N)
CSC429-Computer Organization Tutorial: Y ( (M N) + (P/M) ) (P+N)
CSC429-Computer Organization Tutorial: Y ( (M N) + (P/M) ) (P+N)
20
Tutorial
The complete collection of instructions that are understood by the CPU where the instructions
serves as an interfere between software and hardware.
3. Write an assembly language notation and comments using the format instruction set of zero-
address, 1-address and 3-address as in Table 1 for the given expression below. Assume the
register M, N, P cannot be modified while register x, y and z can be used as temporary register.
The final answer must be stored in Register Y.
Table 1
SAM/2016/Quiz3
(15 marks)
-------------------------------------END OF QUESTION-----------------------------------------
MUL STOR Y Y AC
MUL
POP Y
SAM/2016/Quiz3
SAM/2016/Quiz3