home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Datafile PD-CD 4
/
DATAFILE_PDCD4.iso
/
unix
/
unixtools
/
util
/
asm
/
proglimit
< prev
Wrap
Text File
|
1992-07-21
|
537b
|
40 lines
; 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