home *** CD-ROM | disk | FTP | other *** search
- This is an example of the AOF library being used in conjunction with C.
-
- Run !Set first, otherwise you won't be able to compile or assemble anything.
- AOFLib has to be in the same directory as the 'Example' directory, otherwise
- you won't be able to assemble the sources.
-
- There are two examples here:
- program1
- which demonstrates exporting and importing functions, and also taking
- and receiving arguments.
-
- The assembler source is the file s.eg and the C source is c.program1.
-
- Run !Program1 to link the project if you have Acorn's C.
-
- program2
- which demonstrates area-relative relocation.
-
- The assembler source is the file s.area and the C source is c.program2.
-
- Run !Program2 to link the project if you have Acorn's C.
-
-