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

122                    Chapter 5 Advanced Assemblers, Linkers, and Downloaders


                                 Table 5.1. S-Record Fields

































            The second record begins with ASCII characters S9, indicating a termination record,
        Its length is 3, It is followed by a 4-character 2-byte address field, which is zeroes, and
        $FC, which is the checksum of the S9 record.



        0000                          ORG     $820
        0820 B60811                   LDAA $811
        0823 BB0813                   ADDA $813
        0826 7A0815                   STAA $815
        0829 B60810                   LDAA $810
        082C B90812                   ADCA $812
        082F 7A0814                   STAA $814
        0832 00                        BGND

                                        a. Listing

        S1160820B60811BB08137A0815B60810B908127A0814004E
        S9030000FC

                                        b. S-record

                                   Figure 53. A Program
   140   141   142   143   144   145   146   147   148   149   150