# Timeless Instruction Set

• Read the full story behind the instruction set in Foundations of Computer Science.

## Filters

Mnemonic Name Arguments Type Categories
sub Subtract x = a - b Computational
mul Multiply x = a * b Computational
div Divide x = a / b Computational
pow Exponentiate x = a ^ b Computational
mod Modulus x = a % b Computational
max Maximum x = max(a, b) Computational
min Minimum x = min(a, b) Computational
neg Negate x = -a Computational
pos Positive x = +a Computational
sqrt Square Root x = sqrt(a) Computational
rnd Round x = round(a) Computational
flr Floor x = floor(a) Computational
cil Ceil x = ceil(a) Computational
tnc Truncate x = truncate(a) Computational
abs Absolute x = abs(a) Computational
log Logarithm x = log(a) Computational
ln Natural Logarithm x = ln(a) Computational
sin Sine x = sin(a) Computational
cos Cosine x = cos(a) Computational
tan Tangent x = tan(a) Computational
asin Arc Sine x = asin(a) Computational
acos Arc Cosine x = acos(a) Computational
atan Arc Tangent x = atan(a) Computational
exp Exponential x = exp(a) Computational
eq Equals x = a = b Computational
neq Unequals x = a != b Computational
lt Less Than x = a < b Computational
lte Less Than or Equal x = a <= b Computational
gt Greater Than x = a > b Computational
gte Greater Than or Equal x = a >= b Computational
and And x = a & b Computational
or Or x = a | b Computational
not Not x = !a Computational
if If if a { Computational
else Else } else { Computational
loop Loop loop { Computational
init Begin Loop Initialization Block (block) Computational
inc Begin Loop Increment Block (block) Computational
call Call f(fss) Computational
fnc Begin Function Block function f { Computational
ret Return return a Computational
bgs Begin Structure Block struct { Computational
endb End Block } Computational
par Parenthesis x = (a) Computational
mov Copy x = a Computational
len Length x = a.length Computational
idr Read Array at Index x = a[b] Computational
idw Write Array at Index x[a] = b Computational
acw Write Accessed Structure x.a = b Computational
acr Read Accessed Structure x = a.b Computational
cvt Convert x = (type)a Computational
new Allocate Structure x = new S Computational
nwa Allocate Primitive Array x = new type[b] Computational
nsa Allocate Structure Array x = new S[a] Computational
del Deallocate Structure delete a Computational
dla Deallocate Array delete [] a Computational
num Number Entry number a Computational
bl Boolean Entry boolean a Computational
chr Character Entry char a Computational
str Structure Entry S a Computational
nma Number Array Entry number [] a Computational
bla Boolean Array Entry boolean [] a Computational
cha Character Array Entry char [] a Computational
sta Structure Array Entry S [] a Computational
pcl Call Processing Unit res = Call(dev, req) Infrastructural
snd Send to Processing Unit Send(dev, data) Infrastructural
chk Check x = Check(dev) Infrastructural
chs Check Send x, y = CheckSend(dev) Infrastructural
srv-snd Server Send ServerSend(dev, data) Infrastructural
srv-chk Server Check x = ServerCheck(dev) Infrastructural
srv-chs Server Check Send x, y = ServerCheckSend(dev) Infrastructural
dsp Get Disk Entry Specifications e, s = DiskSpecs(dev) Infrastructural
dwr Write Disk Entry x = WriteDisk(dev, n, data) Infrastructural
csp Get Clock Resolution and Range res, range = ClockSpecs(dev) Infrastructural
ctm Get Current Time x = Time(dev, res) Infrastructural
spc Get Screen Specifications w, h, d = ScreenSpecs(dev) Infrastructural
sdsp Display Image Display(dev, img) Infrastructural
syn Synchronize Image Sync(dev) Infrastructural
psp Get Processing Unit Controller Specifications pus, progs = PUSpecs(dev) Infrastructural
psta Start Processing Unit Start(dev, n) Infrastructural
pstp Stop Processing Unit Stop(dev, n) Infrastructural
pse Set Program x = Execute(dev, n, p) Infrastructural
pex Was Exception x = Exception(dev, n) Infrastructural
ksp Get Keyboard Specifications characters, ctrlkeys, maxhistory = KBSpecs(dev) Infrastructural
kst Get Keyboard State keys, state, length = Keys(dev) Infrastructural
asp Get Audio Specifications dens, mindelay = AudioSpecs(dev) Infrastructural
acd Get Current Delay x = AudioDelay(dev) Infrastructural
aws Write Audio Samples x = WriteAudio(dev, samples) Infrastructural
###### Contact Information

We would be more than happy to help you. Our opening hours are 9–15 (CET).

📞 (+47) 93 68 22 77

Nils Bays vei 50, 0876 Oslo, Norway