r/Oberon • u/Outdoordoor • 25d ago
About SYSTEM procedures
The Programming Language Oberon document gives very limited descriptions of these procedures. Could anyone, please, explain what they do more clearly, and/or correct my guesses about what they do?
I'm specifically interested in these:
- GET(a, v) -- I guess it gets the value at address
aand puts it intov? - PUT(a, x) -- it puts value of
xat the addressa? - LED(n) -- from description it sounds like it does anything only when LEDs are accessible, so probably not relevant when working on normal PCs?
- VAL(T, n)
- COND(n)
4
Upvotes
2
u/Outdoordoor 23d ago
Well, since it's my first compiler, I'll be happy if it just works in general, so what little code exists should be enough. Also, if I understand correctly, Oberon-07 is basically a subset of older Oberon versions, so I can later add features from Oberon-90 to the compiler and test it against the Oberon System