[Oberon] FPGA - ASR shift operator
Tomas Kral
thomas.kral at email.cz
Mon May 1 19:49:58 CEST 2017
Aha, 2^5 = 32, so I can shift max 32 bits around, that makes sense.
But I am also seeing this in the code, Display.Mod : CopyPattern.
ASR(pwd, -(x MOD 32))
and that I do not understand.
Tomas
On Mon, 1 May 2017 16:52:56 +0200
Tomas Kral <thomas.kral at email.cz> wrote:
> Hi,
>
> Looking at shift operators (functions) on Oberon system code, I do not
> understand why ASR(m, -n) takes a negative argument?
>
> Tomas
>
--
Tomas Kral <thomas.kral at email.cz>
More information about the Oberon
mailing list