Hi,
Just,
I need to write code when I am awake.
I have left justified, thus adressh is bits 3 -10 (0 - 7) and address l is bits 1 -2 (6 -7), thus
values is from 00000000(h) 00000000(l), 00 00 hex , 0000 decimal
to 11111111(h) 11000000(l), FF C0 hex , 65472 decimal
Where if I had right justified, thus adressh is bits 9 - 10 (0 - 1) and address l is bits 1 - 8 (0 - 7), thus
values is from 00000000(h) 00000000(l), 00 00 hex , 0000 decimal
to 00000011(h) 11111111(l), 03 FF hex , 1023 decimal
thks
Peter
Bookmarks