The format specifier is R or nR, where 2 £ n £36. If n is omitted, the default decimal radix is restored.
You can specify radixes other than 10 for formatted integer I/O conversion. The specifier is patterned after P, the scale factor for floating-point conversion. It remains in effect until another radix is specified or format interpretation is complete. The I/O item is treated as a 32-bit integer.
demo% cat radix.f integer i / 110 / write( *, 1 ) i 1 format( SU, 16r, I10.8 ) end demo% f77 -silent radix.f demo% a.out DD0000006E demo%
SU is described in "Sign Editing (SU, SP, SS, S) ".