home *** CD-ROM | disk | FTP | other *** search
- ; Return the address of the end of the program code (Image$$RO$$Limit)
- ;
-
- a1 RN 0
- a2 RN 1
- a3 RN 2
- a4 RN 3
- v1 RN 4
- v2 RN 5
- v3 RN 6
- v4 RN 7
- v5 RN 8
- v6 RN 9
- fp RN 10
- ip RN 11
- sp RN 12
- sl RN 13
- lk RN 14
- pc RN 15
-
- AREA |Proglimit|, CODE, READONLY
-
- name
- DCB "ProgLimit",0
- ALIGN
- DCD &FF000000 :OR: ( {PC} - name )
-
- IMPORT |Image$$RO$$Limit|
- EXPORT ProgLimit
-
- ProgLimit
- LDR a1,Limit
- MOVS pc, lk
-
- Limit
- DCD |Image$$RO$$Limit|
- ALIGN
-
- END
-