home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 3 / TheARMClub_PDCD3.iso / hensa / programming / aoflib_2 / Example / !ReadMe < prev    next >
Encoding:
Text File  |  1996-06-20  |  769 b   |  23 lines

  1. This is an example of the AOF library being used in conjunction with C.
  2.  
  3. Run !Set first, otherwise you won't be able to compile or assemble anything.
  4. AOFLib has to be in the same directory as the 'Example' directory, otherwise
  5. you won't be able to assemble the sources.
  6.  
  7. There are two examples here:
  8.   program1
  9.     which demonstrates exporting and importing functions, and also taking
  10.     and receiving arguments.
  11.  
  12.     The assembler source is the file s.eg and the C source is c.program1.
  13.  
  14.     Run !Program1 to link the project if you have Acorn's C.
  15.     
  16.   program2
  17.     which demonstrates area-relative relocation.
  18.     
  19.     The assembler source is the file s.area and the C source is c.program2.
  20.     
  21.     Run !Program2 to link the project if you have Acorn's C.
  22.     
  23.