in OMAE2 I have:
Code: Select all
Sub_0d215:
0d215: a1,c2,0b,46 ldw R46,bc2 TMP0L = KFEGO2_CT1;
0d219: a1,d4,0b,34 ldw R34,bd4 TMP1L = KFEGO1_CT_TL;
0d21d: c3,01,e6,0b,00 stw R0,[R0+be6] [10be6] = ZERO;
0d222: c3,01,ea,0b,00 stw R0,[R0+bea] KCAT21_SUM_T = ZERO;
0d227: 20,12 sjmp 0d23b goto 0d23b;
Sub_0d229:
0d229: a1,d4,0b,46 ldw R46,bd4 TMP0L = KFEGO1_CT_TL;
0d22d: a1,e6,0b,34 ldw R34,be6 TMP1L = be6;
0d231: c3,01,e8,0b,00 stw R0,[R0+be8] KFEGO2_CT_TL = ZERO;
0d236: c3,01,ec,0b,00 stw R0,[R0+bec] [10bec] = ZERO;
0d23b: c2,47,00 stw R0,[R46++] [TMP0L] = ZERO;
0d23e: 88,34,46 cmpw R46,R34
0d241: d3,f8 jnc 0d23b if (TMP0L < TMP1L) goto 0d23b;
0d243: f0 ret return;
Code: Select all
Sub_9f8be:
9f8be: a1,a6,06,46 ldw R46,6a6 TMP0L = KFEGO1_CT1;
9f8c2: a1,be,06,34 ldw R34,6be TMP1L = KFEGO2_CT1;
9f8c6: c3,d8,50,00 stw R0,[Rd8+50] KFEGO1_CT_TL = ZERO;
9f8ca: c3,01,08,07,00 stw R0,[R0+708] KCAT11_SUM_T = ZERO;
9f8cf: c3,01,0c,07,00 stw R0,[R0+70c] KCAT12_SUM_T = ZERO;
9f8d4: c3,01,06,07,00 stw R0,[R0+706] KCATIF_SUM_T = ZERO;
9f8d9: 20,16 sjmp 9f8f1 goto 9f8f1;
Sub_9f8db:
9f8db: a1,be,06,46 ldw R46,6be TMP0L = KFEGO2_CT1;
9f8df: a1,d0,06,34 ldw R34,6d0 TMP1L = KFEGO1_CT_TL;
9f8e3: c3,d8,52,00 stw R0,[Rd8+52] KFEGO2_CT_TL = ZERO;
9f8e7: c3,01,0a,07,00 stw R0,[R0+70a] KCAT21_SUM_T = ZERO;
9f8ec: c3,01,0e,07,00 stw R0,[R0+70e] KCAT22_SUM_T = ZERO;
9f8f1: c2,47,00 stw R0,[R46++] [TMP0L] = ZERO;
9f8f4: 88,34,46 cmpw R46,R34
9f8f7: d3,f8 jnc 9f8f1 if (TMP0L < TMP1L) goto 9f8f1;
9f8f9: f0 ret return;
Side note, or maybe bug report???....
I have also noticed that SAD v4.012 is missing a ton of things in both of the lst files, as far as labels go. They are defined in the DIR files for both but SAD is missing them, Is it possible if I have say SYM 0be6 "label" that it could be missing the ones that are labeled 10be6 in the code???