Forum Discussion
Altera_Forum
Honored Contributor
21 years agoThis looks correct to me.
The UART registers are native bus aligned, so are at offsets which are multiples of the data width (0, 4, 8, etc). The STATUS register is register number 2, so should be at offset 8, which is the location the assembler code is reading from.