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

What is the sum of 0x0000002 and 0x0000003   ?

Answer:

0x0000005


Program's Results

Third Step through the Program

The bit patterns for these small integers are easy to see in the register display. You may have to use the slider on the register display to see register ten.

If you push F10 again, the PC will point at a word in memory that contains bits not intended to be a machine instruction. However the simulator will try to execute those bits. A real processor would "crash" at this point. The simulator prints an error message in the bottom panel when execution reaches the end of a program. Later on, we will end a program in a nicer way.


QUESTION 11:

What happens in real computers when the end of a program is reached?


go to previous page   go to home page   go to next page