[Oberon] FPGA - Little Endian & Bit numbering

Tomas Kral thomas.kral at email.cz
Fri Sep 22 11:30:53 CEST 2017


I learnt earlier OberonV5 is little endian.

Toying with bit reversal, and printing in binary, I further discovered
that bit numbering is MSB 0, correct?

Example, printing 128 in binary gives,

Also when shifting bits in display buffer, 
shifting bits left = moves screen bits visually to right
shifting bits right = moves screen bits visually to left, correct?

This may explain why bit reversal, and endian conversion is needed in
`Screen.Mod' to produce bitmaps for the outside world.

Little endian + MSB 0 simplifies h/w design, correct?

Tomas Kral <thomas.kral at email.cz>

More information about the Oberon mailing list