go to previous page   go to home page   go to next page hear noise


Hopefully your machine language program ran successfully and did not crash the system.

If it did crash, check that every instruction is one of the eight bit patterns in the table.

Machine Language Program

This is, of course, a silly example. Actual processors have many more machine instructions and the instructions are much more detailed. A typical processor has a thousand or more different machine instructions. Those instructions do not directly affect any output device (such as our light bulb.)

Even the simplest controller has much more memory. But the essential ideas of the example are these:


Is it obvious what each machine instruction in our example means? That is, is it obvious what operation "00100000" calls for?