所需E币: 5
时间: 2019-12-25 09:50
大小: 23KB
PIC16C63串口通信程序list p=16c63 ; list directive to define processor #include ; processor specific variable definitions __CONFIG _BODEN_OFF&_CP_OFF&_WRT_ENABLE_ON&_PWRTE_ON&_WDT_OFF&_XT_OSC&_DEBUG_OFF&_CPD_OFF&_LVP_OFF; ‘__CONFIG‘ directive is used to embed configuration data within .asm file.; The lables following the directive are located in the respective .inc file.; See respective data sheet for additional information on configuration word.;***** VARIABLE DEFINITIONSw_temp EQU 0x20 ; variable used for context saving status_temp EQU 0x21 ; variable used for context savingBuffer1 EQU 0x22Buffer2 EQU 0x23 ;**************************************************************……