文档简介
标签:
PIC16C52器件代码的形成
To develop code on a PIC16C52 device, aPIC16C54/JW part can be used. In order to use aPIC16C54/JW device, the following conditions shouldbe followed:1. A PIC16C54/JW has 512 words (0x1FF) of programmemory, whereas a PIC16C52 has 384bytes (0x17F) of program memory. The “extra”locations should be programmed as follows:a) Location 0x180 should be programmed witha “GOTO 0x00” instructionb) Locations 0x181 through 0x1FF should beprogrammed with a “GOTO 0x17F”instruction.See Figure 1 for details, and for a standard“skeleton” program, use the code inExample 1.
评论
加载更多
推荐下载
查看更多
精选文集
相关视频
推荐帖子