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

Answer:

(36+8) / (36-8)   =   1 Remainder 16,    or    0x1 Remainder 0x10

A Run of the Program

Here is an example run of the program:

A Run of the Program

As usual, a stunning success.


QUESTION 12:

Here is the 16-bit two's complement representation for -16.

1111 1111 1111 0000

Perform a logical shift right by two positions. Is the resulting pattern the correct representation for -16/4?


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