2a 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. .TH 2A 1
  2. .SH NAME
  3. 0a, 1a, 2a, 4a, 5a, 6a, 7a, 8a, 9a, ka, qa, va, xa \- assemblers
  4. .SH SYNOPSIS
  5. .B 2a
  6. [
  7. .I option ...
  8. ]
  9. [
  10. .I name ...
  11. ]
  12. .br
  13. etc.
  14. .SH DESCRIPTION
  15. These programs
  16. assemble the named files into object files
  17. for the corresponding architectures; see
  18. .IR 2c (1)
  19. for the correspondence between an architecture and the character
  20. .RB ( 0 ,
  21. .RB 1 ,
  22. etc.) that specifies it.
  23. The assemblers handle the most common C preprocessor directives and the associated
  24. command-line options
  25. .BR -D
  26. and
  27. .BR -I .
  28. Other options are:
  29. .TP
  30. .BI -o " obj"
  31. Place output in file
  32. .I obj
  33. (allowed only if there is just one input file).
  34. Default is to take the last element of the input path name,
  35. strip any trailing
  36. .BR .s ,
  37. and append
  38. .RI . O ,
  39. where
  40. .I O
  41. is first letter of the assembler's name.
  42. .SH FILES
  43. The directory
  44. .B /sys/include
  45. is searched for include files after
  46. machine-dependent files in
  47. .BR /$objtype/include .
  48. .SH SOURCE
  49. .BR /sys/src/cmd/2a ,
  50. etc.
  51. .SH SEE ALSO
  52. .IR 2c (1),
  53. .IR 2l (1).
  54. .PP
  55. Rob Pike, ``A manual for the Plan 9 assembler''