Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ Quad_Arith(lib) — Sprite KS.390

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Quad  —  C Library Procedures

NAME

Quad_AddUns, Quad_AddUnsLong − Arithmetic operations on 64-bit integers

SYNOPSIS

#include <quad.h>
void
Quad_AddUns(uQuad1, uQuad2, uResultPtr)
void
Quad_AddUnsLong(uQuad1, uLong, uResultPtr)

ARGUMENTS

u_quad uQuadN   (in) N’th unsigned quad operand

u_long uLong   (in) unsigned long operand

u_quad ∗uResultPtr   (out) unsigned quad result
 

DESCRIPTION

Sprite provides some common operations on 64-bit integers.  Quad_AddUns adds two unsigned quads together.  Quad_AddUnsLong adds an unsigned long to an unsigned quad.  In both cases, one of the quad operands can also be used to hold the result. 

It is expected that more quad operations will be added to the library as they are needed for different applications. 
 

KEYWORDS

quad, arithmetic, counter

Sprite version 1.0  —  March 18, 1991

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026