Ask your own question, for FREE!
Computer Science 12 Online
OpenStudy (anonymous):

How can I translate this pseudocode into the machine language? x<-0; while (x<10) do (x<-x+1) (You can find the appendix c in my next message, we should translate it according to the appendix c.)

OpenStudy (anonymous):

I'm afraid it depends very much on the target architecture. What CPU architecture are you writing assembly code (or machine code if required) for?

OpenStudy (e.mccormick):

And do you want to go as direct as possible to machine language, as in asembly? Or were you thinking about using something more high level?

OpenStudy (woodrow73):

Note that true machine language is different for each operating system -- however you might be searching for something not as 'low level' like e.mccormick noted.

OpenStudy (e.mccormick):

@woodrow73 yah, that is why I wondered if they knew what they meant. To do machine language is to write the micro code in binary. Assembly is a step above that, but not machine language. So, do they mean assembly? Or do they mean write a program for the machine, which could be one of many languages.

OpenStudy (anonymous):

@woodrow73 @e.mccormick @Alchemista Sorry i forgot to say that, we should translate it according to the appendix c.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!