Calculation of REF5 (ENDC-LISTC-10) Control sections A The value of REF5 is: FFFFF6 + 004124 - 004112 = 000008 (initial value) (address of ENDC) (address of LISTC) Control section B FFFFF6 + 004054 + 004112 = 000008 (initial value) (address of ENDC) (address of LISTC) Control section C 000008
Calculation of REF6 (ENDC-LISTC+LISTA-1) Control sections A The value of REF6 is: 00003F + 004124 - 004112 +40000= 004051 (initial value) (address of ENDC) (address of LISTC) (address of PROGRA) Control section B The value of REF5 is: FFFFFF + 004054 + 004112 + 004040 = 004051 (initial value) (address of ENDC) (address of LISTC) (address of LISTA) Control section C 000011 + 004040 = 004051 (initial value) (address of LISTA)
Calculation of REF7 (ENDA-LISTA-(ENDB-LISTB)) Control sections A The value of REF7 is: 000014 - 0040D3 + 0040C3 = 000004 (initial value) (address of ENDB) (address of LISTB) Control section B FFFFF0 + 004050 - 004040 = 000004 (initial value) (address of ENDA) (address of LISTA) Control section C 000000 + 004050 - 004040 - 0040D3 + 0040C3 = 000004 (initial value) (address of ENDA) (address of LISTA) (address of ENDB) (address of LISTB)
Calculation of REF8 (LISTB-LISTA) Control sections A The value of REF8 is: FFFFC0 + 0040C3 - 004000= 000083 (initial value) (address of LISTB) (address of PROGA) Control section B 000060 - 004040 + 004063 = 000083 (initial value) (address of LISTA) (address of PROGB) Control section C 000000 + 0040C3 - 004040 = 000083 (initial value) (address of LISTB) (address of LISTA)