*.asm include to another *.asm help in Keil

here is the exact Keil example..

File: ADD.asm


;Add routine which will be called from other file
PUBLIC ADDNUM ;declare function as public

ADDNUM_ SEGMENT CODE  ;define code segment for linker
RSEG ADDNUM_ ;select segment ADDNUM

ADDNUM:  ;Our add routine
MOV R2,R1
ADD R2,R0
RET


File: Test.asm


... Read Compelte post
Posted by ajay_bhargav on Sat Aug 01 2009, 12:24 am

Downloads

Comments

Richardesord
Mon May 27 2024, 06:16 pm
Stelota
Mon May 27 2024, 06:03 pm
atalethtux
Mon May 27 2024, 03:27 pm
Manuelwob
Mon May 27 2024, 09:06 am
astotiake
Mon May 27 2024, 03:09 am
Anthonyklup
Sun May 26 2024, 07:54 pm
Robertbix
Sat May 25 2024, 11:35 pm
cngCar
Fri May 24 2024, 03:50 pm