Datasheet

I2C Bootloader
Document Number: 001-13258 Rev. *J Page 28 of 39
asm("nop");
}
}
Here is an implementation of the BootLdrI2C User Module written in assembly language:
;---------------------------------------------------------------------
; Assembly main line
;---------------------------------------------------------------------
include "m8c.inc" ; part specific constants and macros
include "memory.inc" ; Constants & macros for SMM/LMM and Compiler
include "PSoCAPI.inc" ; PSoC API definitions for all user modules
export _main
_main:
; Insert your main assembly code here.
lcall BootLdrI2C_1_Start
lcall BootLdrI2C_1_EnableSlave
lcall BootLdrI2C_1_EnableInt
//start blinking the LED
lcall Counter24_1_Start
lcall Counter24_1_EnableInt
lcall LED_1_Start
M8C_EnableGInt
.terminate:
jmp .terminate
}