[Oberon] FPGA - ASR shift operator
Jörg
joerg.straube at iaeth.ch
Mon May 1 17:20:26 CEST 2017
Tomas
I don’t know your code.
But I can say: negative „n“ for ASR will generate a TRAP at runtime.
Most probably the variable „n" is negative, so that „-n" turns positive :-)
br
Jörg
> Am 01.05.2017 um 16:52 schrieb Tomas Kral <thomas.kral at email.cz>:
>
> 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>
> --
> Oberon at lists.inf.ethz.ch mailing list for ETH Oberon and related systems
> https://lists.inf.ethz.ch/mailman/listinfo/oberon
More information about the Oberon
mailing list