An high level language such as C has many statements for decision and loops while an assembly such the MIPS' one has few. With slt, slti, beq, bne it can create all conditions. What are the advantages and disadvantages of reducing the decision statements?

  • $\begingroup$ What are your thoughts on the subject? $\endgroup$ – Yuval Filmus Jan 9 '17 at 14:22
  • $\begingroup$ Well, I think that, in line with the first design principle ("keep it simple"), few statements can favor regularity in low level operations. But, at the same time, this is apparently not true for at high level. The third design principle ("compromise") should justify this behavior, but I am looking for a more solid proof. $\endgroup$ – Worice Jan 9 '17 at 14:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.