Page 408 - Introduction to Microcontrollers Architecture, Programming, and Interfacing of The Motorola 68HC12
P. 408

Appendix 1 Number Representations and Binary Arithmetic             385

        46 = $2E and the 16's-complement of $2E is $D1 + 1 = $D2, the desired result. You
        should try to understand how this works. (See the problems at the end of this appendix.)

        A 1.3 Remarks

        The material discussed here can be found in any introductory text on logic design. We
        recommend the book Fundamentals of Logic Design, 4th ed., by C. H. Roth (PWS
        Publishing Co., Boston MA, 1995).
   403   404   405   406   407   408   409   410   411   412   413