Analysis

---------------------------------------------

Programming Errors

None

---------------------------------------------

Instructions Used

APBREAD, APBWRT, APBWRT ACC, APBWRT DAT, CMP, DEF, HALT, IOWRT, IOWRT ACC, JUMP, RAMREAD, RAMWRT, RAMWRT ACC, RAMWRT DAT, RETISR

---------------------------------------------

Constraints

   Maximum value of APB data written directly is 10000 so 'Data Bus Width' >= 14.
   Maximum APB slot used is 2 so 'Number of APB Slots' >= 3.
   Maximum APB address used 216 so 'APB Slot Size' >= 256 locations
   Maximum program counter is 106 so 'Maximum Number of Instructions' >= 128.
   Z register not used so 'Z Register size' may be set to disabled.
   'INPUTn' not used so 'Number of I/O Flags' >= 0.
   'IOWRT 0' used so 'Number of I/O Outputs' >= 0.
   Uses stack ('CALL', 'RETURN', 'RETISR', 'PUSH' or 'POP'), 'RAMREAD' or 'RAMWRT' so requires 'Internal Data/Stack Memory'.
   Uses stack - please ensure 'Stack Size' is sufficient.
   Uses 'RETISR' - please ensure that 'ISR Address' is set.

---------------------------------------------

Instruction Store Details

   Width of instructions is Data+Addr+Slots+6 = 16+8+2+6 = 32 bits

---------------------------------------------

Labels

Address 34:$I2C_reads
Address 49:$I2C_SEQ_INT_CLR
Address 51:$MAIN

---------------------------------------------

Symbols

Line 107:RAM_ADR_I2C_SEQ_CNT=0x0
Line 108:RAM_ADR_I2C_CH0_0=0x1
Line 109:RAM_ADR_I2C_CH0_1=0x2
Line 110:RAM_ADR_I2C_CH1_0=0x3
Line 111:RAM_ADR_I2C_CH1_1=0x4
Line 112:RAM_ADR_init_done=0x10

---------------------------------------------
