to expand a 13 bit negative two's complement number to a 16 bit number bits 13,14 an 15 need to be set accordingly
in general the "sign bit" needs to be extended to the new width
so 1 0000 1111 0000 becomes 1111 0000 1111 0000 qed -3856
![]()
to expand a 13 bit negative two's complement number to a 16 bit number bits 13,14 an 15 need to be set accordingly
in general the "sign bit" needs to be extended to the new width
so 1 0000 1111 0000 becomes 1111 0000 1111 0000 qed -3856
![]()
Warning I'm not a teacher
Bookmarks