Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!usc!wuarchive!udel!haven!decuac!shlump.nac.dec.com!smaug.enet.dec.com!graham From: graham@smaug.enet.dec.com Newsgroups: comp.sources.wanted Subject: Re: What does this assembler code do? Keywords: VAX, VMS, backup Message-ID: <1990Dec4.182620@smaug.enet.dec.com> Date: 4 Dec 90 23:31:53 GMT References: Sender: newsdaemon@shlump.nac.dec.com Reply-To: graham@smaug.enet.dec.com () Distribution: comp Organization: Digital Equipment Corporation Lines: 14 In article , ralph@laas.fr (Ralph P. Sobek) writes: |>The following embedded assembler code belongs to some C language code |>for reading VAX VMS Backup tapes under Unix. Maybe this would compile |>under Ultrix. It appears to convert a 64-bit absolute VMS time value (the address of which is passed as the first parameter to the routine) into the number of seconds since 1am on 1-JAN-1970! It does this by subtracting 0x007C956FADAFA800 ( 1-JAN-1970 01:00:00.00) from the time value passed and dividing the result by 10,000,000