man31 - NAME SYNOPSIS DESCRIPTION atof jsr ascii to...

Info iconThis preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon
11/3/71 ATOF (III) NAME atof -- ascii to floating SYNOPSIS jsr r5,atof; subr DESCRIPTION atof will convert an ascii stream to a floating number returned in fr0. The subroutine subr is called on r5 for each character of the ascii stream. subr should return the character in r0. The first character not used in the conversion is left in r0. The floating point simulation should be active in either floating or double mode, but in single precision integer mode. FILES kept in /etc/liba.a SEE ALSO fptrap DIAGNOSTICS BUGS The subroutine subr should not disturb any registers. OWNER ken
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
11/3/71 ATOI (III) NAME atoi -- ascii to integer SYNOPSIS jsr r5,atoi; subr DESCRIPTION atoi will convert an ascii stream to a binary number returned in mq. The subroutine subr is called on r5 for each character of the ascii stream. subr should return the character in r0. The first character not used in the conversion is left in r0. FILES kept in /etc/liba.a SEE ALSO DIAGNOSTICS BUGS The subroutine subr should not disturb any registers. OWNER ken
Background image of page 2
11/3/71 CTIME (III) NAME ctime -- convert date and time to ASCII SYNOPSIS (move time to AC—MQ) mov $buffer,r0 jsr pc,ctime DESCRIPTION The buffer is 15 characters long. The time has the format Oct 9 17:32:24 The input time is in the AC and MQ registers in the form returned by sys time. FILES kept in /etc/liba.a SEE ALSO ptime, to print time; sys time DIAGNOSTICS BUGS The time is not taken modulo 1 year. (Jan 1 comes out Dec 32.) Also, the clock period is only a couple of years. OWNER dmr
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
EXP (III) NAME exp -- exponential function SYNOPSIS jsr r5,exp DESCRIPTION The exponential of fr0 is returned in fr0. The floating point simulation should be active in either floating or double mode, but in single precision integer mode.
Background image of page 4
Image of page 5
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

Page1 / 14

man31 - NAME SYNOPSIS DESCRIPTION atof jsr ascii to...

This preview shows document pages 1 - 5. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online