ATRANS(1) HP-UX 5.0 ATRANS(1) NAME atrans - translate assembly language SYNOPSIS atrans [ -j ] [ -n ] [ filename ] HP-UX COMPATIBILITY Level: HP-UX/DEVELOPMENT Origin: HP Remarks: Atrans is implemented on the Series 200 and Integral PC only. DESCRIPTION Atrans translates an assembly language source file from Series 200 Pascal workstation assembly language syntax to Series 200 HP-UX assembly language syntax. If no filename is given, input is assumed to come from stdin. All uppercase characters are converted to lowercase characters, except those in comments or in quoted strings. Hexadecimal constants are converted from Series 200 Pascal workstation syntax, $ to the Series 200 HP-UX syntax, 0x. Operands whose effective address is program counter with displacement will have the string pc inserted in them (e.g. 8(d6) will become 8(pc,d6)). Lines containing the following list of Series 200 Pascal workstation pseudo-ops have no parallel in Series 200 HP-UX syntax and are translated as comment lines: decimal, end, llen, list, lprint, nolist, noobj, nosyms, page, spc, sprint, ttl. Lines containing the mname or src pseudo-ops are translated as comment lines, and a warning is printed stating that modules are not supported by the Series 200 HP-UX assembler. The pseudo-ops, def, refa, and refr, are translated as globl. The file name operand of an include pseudo-op will have quote marks put around it. Certain pseudo-ops require manual intervention to translate. Each Line containing these pseudo_ops will cause a message to be printed stating that an error will be generated by the Series 200 HP-UX assembler. These pseudo-ops are: com, lmode, org, rorg, rmode, smode, start. The -j option converts opcodes with the bcc[.s|.l] branch syntax to the jcc syntax. It also converts bsr[.s|.l] to jbsr. The -n option converts groups of blanks to tabs. SEE ALSO as(1).